// // Copyright 2023 DXOS.org // import { type Meta, type StoryObj } from '@storybook/react-vite'; import React from 'react'; import { withTheme } from '../../testing'; import { Toggle } from '../Button'; import { Icon } from '../Icon'; import { Select } from '../Select'; import { Toolbar } from './Toolbar'; type StorybookToolbarProps = {}; const DefaultStory = (props: StorybookToolbarProps) => { return ( {/* TODO(burdon): Should be fixed width (regardless of selection). */} A B C {/* TODO(burdon): Highlight is cyan. */} {/* TODO(burdon): Show vertical divider by default. */} {/* TODO(burdon): Icon sizes should adapt to density. */} {/* TODO(burdon): Highlight isn't shown. */} Test ); }; const meta = { title: 'ui/react-ui-core/components/Toolbar', component: Toolbar as any, render: DefaultStory, decorators: [withTheme()], } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { args: {}, };