import Button from "@material-ui/core/Button"; import Card from "@material-ui/core/Card"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import Container from "@saleor/components/Container"; import PageHeader from "@saleor/components/PageHeader"; import SearchBar from "@saleor/components/SearchBar"; import { sectionNames } from "@saleor/intl"; import { ListActions, PageListProps, SearchPageProps, TabPageProps, SortPage } from "@saleor/types"; import { CustomerListUrlSortField } from "@saleor/customers/urls"; import { ListCustomers_customers_edges_node } from "../../types/ListCustomers"; import CustomerList from "../CustomerList/CustomerList"; export interface CustomerListPageProps extends PageListProps, ListActions, SearchPageProps, SortPage, TabPageProps { customers: ListCustomers_customers_edges_node[]; } const CustomerListPage: React.FC = ({ currentTab, initialSearch, onAdd, onAll, onSearchChange, onTabChange, onTabDelete, onTabSave, tabs, ...customerListProps }) => { const intl = useIntl(); return ( ); }; CustomerListPage.displayName = "CustomerListPage"; export default CustomerListPage;