import Button from "@material-ui/core/Button"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import AppHeader from "@saleor/components/AppHeader"; import { Container } from "@saleor/components/Container"; import PageHeader from "@saleor/components/PageHeader"; import { sectionNames } from "@saleor/intl"; import { ListProps } from "@saleor/types"; import { StaffList_staffUsers_edges_node } from "../../types/StaffList"; import StaffList from "../StaffList/StaffList"; export interface StaffListPageProps extends ListProps { staffMembers: StaffList_staffUsers_edges_node[]; onAdd: () => void; onBack: () => void; } const StaffListPage: React.StatelessComponent = ({ disabled, onAdd, onBack, ...listProps }) => { const intl = useIntl(); return ( {intl.formatMessage(sectionNames.configuration)} ); }; StaffListPage.displayName = "StaffListPage"; export default StaffListPage;