import type { Meta, StoryObj } from '@storybook/react-vite'; import CelebrationIcon from '@/material-icons/400-24px/celebration-fill.svg?react'; import * as badges from '.'; const meta = { component: badges.Badge, title: 'Components/Badge', args: { domain: '', label: undefined, }, argTypes: { domain: { control: 'text', }, }, } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { args: { label: 'Example', }, }; export const Domain: Story = { args: { ...Default.args, domain: 'example.com', }, }; export const Verified: Story = { render() { return ; }, }; export const CustomIcon: Story = { args: { ...Default.args, icon: , }, }; export const Admin: Story = { args: { roleId: '1', }, render(args) { return ; }, }; export const Group: Story = { render(args) { return ; }, }; export const Automated: Story = { render(args) { return ; }, }; export const Muted: Story = { render(args) { return ; }, }; export const MutedWithDate: Story = { render(args) { const futureDate = new Date(new Date().getFullYear(), 11, 31).toISOString(); return ; }, }; export const Blocked: Story = { render(args) { return ; }, };