import { Button, Card } from "@material-ui/core"; import { CollectionListUrlSortField } from "@saleor/collections/urls"; import { Container } from "@saleor/components/Container"; import PageHeader from "@saleor/components/PageHeader"; import SearchBar from "@saleor/components/SearchBar"; import { sectionNames } from "@saleor/intl"; import { ChannelProps, ListActions, PageListProps, SearchPageProps, SortPage, TabPageProps } from "@saleor/types"; import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; import { CollectionList_collections_edges_node } from "../../types/CollectionList"; import CollectionList from "../CollectionList/CollectionList"; export interface CollectionListPageProps extends PageListProps, ListActions, SearchPageProps, SortPage, TabPageProps, ChannelProps { collections: CollectionList_collections_edges_node[]; channelsCount: number; } const CollectionListPage: React.FC = ({ channelsCount, currentTab, disabled, initialSearch, onAdd, onAll, onSearchChange, onTabChange, onTabDelete, onTabSave, selectedChannelId, tabs, ...listProps }) => { const intl = useIntl(); return ( ); }; CollectionListPage.displayName = "CollectionListPage"; export default CollectionListPage;