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