import { Command } from '../../src'; export default { component: Command, title: 'Tests rendering', }; const options = [ { id: 'opt-new-file', label: 'New file' }, { id: 'opt-open-file', label: 'Open file' }, { id: 'opt-save-file', label: 'Save file' }, ]; export const Default = () => ( { options.map((opt) => ( { opt.label } )) } No results found. ); export const WithGroups = () => ( New file Open file Copy Paste No results found. ); export const WithEmpty = () => ( No results found. ); export const WithDisabledOption = () => ( Enabled option Disabled option ); export const WithTrigger = () => ( Open command { options.map((opt) => ( { opt.label } )) } ); export const CustomStyle = () => ( Option 1 );