| | |
| | | PageSection, PageSectionVariants, Text, TextContent, Card, CardBody |
| | | } from "@patternfly/react-core"; |
| | | import AnimalCreateForm from "../Components/AnimalCreateForm"; |
| | | import {ShelterService} from "../Services/ShelterService"; |
| | | |
| | | |
| | | type AnimalCreateViewProps = { |
| | | animalService: AnimalService; |
| | | shelterService: ShelterService; |
| | | } |
| | | |
| | | |
| | |
| | | <PageSection> |
| | | <Card> |
| | | <CardBody> |
| | | <AnimalCreateForm animalService={this.props.animalService} /> |
| | | <AnimalCreateForm |
| | | animalService={this.props.animalService} |
| | | shelterService={this.props.shelterService} |
| | | /> |
| | | </CardBody> |
| | | </Card> |
| | | </PageSection> |