import { limits, limitsReached } from "@saleor/fixtures"; import Decorator from "@saleor/storybook/Decorator"; import { storiesOf } from "@storybook/react"; import React from "react"; import { channelsList } from "../../fixtures"; import ChannelsListPage, { ChannelsListPageProps } from "./ChannelsListPage"; const props: ChannelsListPageProps = { channelsList, limits, navigateToChannelCreate: () => undefined, onBack: () => undefined, onRemove: () => undefined, onRowClick: () => undefined }; storiesOf("Views / Channels / Channels list", module) .addDecorator(Decorator) .add("default", () => ) .add("empty", () => ) .add("no limits", () => ) .add("limits reached", () => ( ));