Jaime Ramírez
2020-06-11 d4efcf556bee5599b87a18da9420df2143e1c757
commit | author | age
9f69d1 1 import React from "react";
J 2 import {PageSection, PageSectionVariants, Text, TextContent} from "@patternfly/react-core";
3 import NotificationRequestForm from "../Components/NotificationRequestForm";
4 import {AnimalService} from "../Services/AnimalService";
5
6 type NotificationsViewProps = {
7     animalService: AnimalService;
8 }
9
10 export default class NotificationsView extends React.Component<NotificationsViewProps> {
11     public render() {
12         return (
13             <React.Fragment>
14                 <PageSection variant={PageSectionVariants.light}>
15                     <TextContent>
16                         <Text component="h1">Shelters</Text>
17                         <Text component="p">Our shelters</Text>
18                     </TextContent>
19                 </PageSection>
20                 <PageSection>
21                     <NotificationRequestForm animalService={this.props.animalService}/>
22                 </PageSection>
23             </React.Fragment>
d4efcf 24         );
9f69d1 25     }
J 26 }