import { storiesOf } from "@storybook/react";
import React from "react";
import {
listActionsProps,
pageListProps,
searchPageProps,
tabPageProps
} from "@saleor/fixtures";
import Decorator from "@saleor/storybook/Decorator";
import { webhookList } from "../../fixtures";
import WebhooksListPage, { WebhooksListPageProps } from "./WebhooksListPage";
const props: WebhooksListPageProps = {
...listActionsProps,
...pageListProps.default,
...searchPageProps,
...tabPageProps,
onBack: () => undefined,
onRemove: () => undefined,
webhooks: webhookList
};
storiesOf("Views / Services / Service list", module)
.addDecorator(Decorator)
.add("default", () => )
.add("loading", () => (
))
.add("no data", () => );