import React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { CrossIcon, VerticalMenuIcon } from '@100mslive/react-icons'; import { Button } from '../Button'; import { Fieldset } from '../Fieldset'; import { Input } from '../Input'; import { Label } from '../Label'; import { Box, Flex } from '../Layout'; import { Text } from '../Text'; import { Popover } from './index'; import PopoverDocs from './Popover.mdx'; export default { title: 'UI Components/Popover', component: Popover.Root, argTypes: { onClick: { action: 'clicked' } }, args: { css: {}, }, parameters: { docs: { page: PopoverDocs, }, }, } as ComponentMeta; //👇 We create a “template” of how args map to rendering const Template: ComponentStory = () => ( Dimensions
); export const Example = Template.bind({}); Example.storyName = 'Popover';