// // Copyright 2022 DXOS.org // import React from 'react'; import { hues } from '@dxos/react-ui-theme'; import '@dxos-theme'; import { type ChromaticPalette, type MessageValence } from '@dxos/react-ui-types'; import { Tag } from './Tag'; import { withTheme } from '../../testing'; const palettes = ['neutral', 'success', 'info', 'warning', 'error', ...hues] as (ChromaticPalette | MessageValence)[]; export default { title: 'ui/react-ui-core/Tag', component: Tag, decorators: [withTheme], parameters: { chromatic: { disableSnapshot: false } }, } as const; export const Default = { render: () => (