import React from "react"; import { OverlaysProvider } from "@blueprintjs/core"; import { Meta, StoryFn } from "@storybook/react"; import { fn } from "storybook/test"; import { SimpleCard } from "../../Card/stories/Card.stories"; import { Card, Modal } from "./../../../components"; export default { title: "Components/Dialog/Modal", component: Modal, argTypes: { children: { control: false, }, }, decorators: [ (Story) => (
), ], } as Meta; const Template: StoryFn = (args) => ; export const Default = Template.bind({}); Default.args = { isOpen: true, usePortal: false, children: , onOpening: fn(), onClosing: fn(), };