import React from 'react'; import { Meta } from '@storybook/react'; import { MicIcon } from '@100mslive/react-icons'; import { Box } from '../../../Layout'; import { Text } from '../../../Text'; import { IconButtonWithOptions } from './IconButtonWithOptions'; export default { title: 'Components/IconButtonWithOptions', component: IconButtonWithOptions, argTypes: { tooltipMessage: { control: 'text' }, icon: { control: 'object' }, options: { control: 'object' }, active: { control: 'boolean' }, onClick: { control: 'function' }, key: { control: 'string' }, }, } as Meta; const Template = args => ( ); export const Default = Template.bind({}); Default.args = { tooltipMessage: 'Click me!', icon: , options: [ { title: 'Option 1', content: Some content }, { title: 'Option 2', content: Some more content }, ], active: true, onClick: () => { return; }, key: '', };