import * as React from "react" import { ComponentStory, ComponentMeta } from "@storybook/react" import { Modal } from "../src" export default { title: "通用/Modal", component: Modal } as ComponentMeta // Story模版 const Template: ComponentStory = () => { const [show, setShow] = React.useState(false) const handleClose = () => { setShow(false) } return (
alert("111")} />
) } export const Normal = Template.bind({})