import { OrderErrorCode } from "@saleor/graphql"; import { storiesOf } from "@storybook/react"; import React from "react"; import OrderPaymentVoidDialog, { OrderPaymentVoidDialogProps } from "../../../orders/components/OrderPaymentVoidDialog"; import Decorator from "../../Decorator"; const props: OrderPaymentVoidDialogProps = { confirmButtonState: "default", errors: [], onClose: () => undefined, onConfirm: () => undefined, open: true }; storiesOf("Orders / OrderPaymentVoidDialog", module) .addDecorator(Decorator) .add("default", () => ) .add("errors", () => ( ));