import React from "react"; import { Story, Meta } from "@storybook/react"; import Dropdown, { DropdownProps } from "../Dropdown/Dropdown"; export default { title: "Components/Dropdown", component: Dropdown, } as Meta; const Template: Story = (args) => ; export const DefaultDropdown = Template.bind({}); DefaultDropdown.args = { children: ( <> ), }; export const WithButton = Template.bind({}); WithButton.args = { children: ( <> ), elementList: [ , ], }; export const WithLink = Template.bind({}); WithLink.args = { children: ( <> ), elementList: [ Go to https://www.npmjs.com/package/react-craftify-spinners , ], }; export const WithMultipleElements = Template.bind({}); WithMultipleElements.args = { children: ( <> ), elementList: [ , Go to https://www.npmjs.com/package/react-craftify-spinners , ], };