import { jsx as _jsx } from "react/jsx-runtime";
import { useArgs } from "@storybook/preview-api";
import { Disclosure } from "./disclosure.js";
const meta = {
    title: "Connect/Components/Disclosure",
    component: Disclosure,
};
export default meta;
export const Default = {
    args: {
        title: "Disclosure",
        children: (_jsx("p", { children: "lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam" })),
        isOpen: false,
        onOpenChange: () => { },
    },
    render: function Wrapper(args) {
        const [, setArgs] = useArgs();
        return (_jsx("div", { className: "w-[408px] bg-white p-6", children: _jsx(Disclosure, { ...args, onOpenChange: () => setArgs({ ...args, isOpen: !args.isOpen }) }) }));
    },
};
//# sourceMappingURL=disclosure.stories.js.map