import Button from "@material-ui/core/Button"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import Container from "@saleor/components/Container"; import PageHeader from "@saleor/components/PageHeader"; import { sectionNames } from "@saleor/intl"; import { ListActions, PageListProps } from "@saleor/types"; import { VoucherList_vouchers_edges_node } from "../../types/VoucherList"; import VoucherList from "../VoucherList"; export interface VoucherListPageProps extends PageListProps, ListActions { defaultCurrency: string; vouchers: VoucherList_vouchers_edges_node[]; } const VoucherListPage: React.StatelessComponent = ({ defaultCurrency, disabled, settings, onAdd, onNextPage, onPreviousPage, onUpdateListSettings, onRowClick, pageInfo, vouchers, isChecked, selected, toggle, toggleAll, toolbar }) => { const intl = useIntl(); return ( ); }; VoucherListPage.displayName = "VoucherListPage"; export default VoucherListPage;