import * as React from 'react'; import { CompoundButton, CompoundButtonProps } from '@fluentui/react-button'; import { buttonBaseProps } from '../Button/Button.stories'; import { Playground } from '../Playground'; import { PlaygroundProps, PropDefinition } from '../Playground.types'; type ExampleProps = { iconOnly?: string }; const compoundButtonBaseProps: PropDefinition[] = [ { propName: 'secondaryContent', propType: 'string', defaultValue: 'This is the secondary content', dependsOnProps: ['~iconOnly'], }, ]; const compoundButtonProps: PlaygroundProps['sections'] = [ { sectionName: 'Button props', propList: buttonBaseProps }, { sectionName: 'CompoundButton props', propList: compoundButtonBaseProps }, ]; export const CompoundButtonPlayground = () => ( );