import Button from "@material-ui/core/Button"; import AppHeader from "@saleor/components/AppHeader"; import Container from "@saleor/components/Container"; import PageHeader from "@saleor/components/PageHeader"; import { sectionNames } from "@saleor/intl"; import { PageListUrlSortField } from "@saleor/pages/urls"; import { ListActions, PageListProps, SortPage } from "@saleor/types"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import { PageList_pages_edges_node } from "../../types/PageList"; import PageList from "../PageList"; export interface PageListPageProps extends PageListProps, ListActions, SortPage { pages: PageList_pages_edges_node[]; onBack: () => void; } const PageListPage: React.FC = ({ onAdd, onBack, ...listProps }) => { const intl = useIntl(); return ( {intl.formatMessage(sectionNames.configuration)} ); }; PageListPage.displayName = "PageListPage"; export default PageListPage;