import { Meta, StoryObj } from '@storybook/react'; import { Typography } from '.'; export default { component: Typography, title: 'Components/Typography', } as Meta; export const Default: StoryObj = { args: { children: 'Default', colorToken: 'white100', typographyToken: 'h1XLBold', }, }; export const RainbowVariant: StoryObj = { args: { children: 'Rainbow Variant', colorToken: 'rainbow', typographyToken: 'h1XLBold', }, }; export const WithBackgroundColor: StoryObj = { args: { backgroundColorToken: 'primary500', children: 'With Background Color', colorToken: 'white100', typographyToken: 'h1XLBold', }, }; export const WithAsSpan: StoryObj = { args: { as: 'span', children: 'I should be

, but I am a ', colorToken: 'white100', typographyToken: 'bodyMediumMedium', }, };