typography.stories.mdx
Mon Mar 25 2024 11:37:36 GMT+0000 (Coordinated Universal Time)
Saved by
@rafal_rydz
import {Caption, Content, ErrorText, Heading, PageHeading, Subheading,} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";
<Meta title="Components/Text/Typography/old" component={PageHeading}/>
export const Template = (args) => (
<>
<PageHeading {...args} />
<Heading {...args} />
<Subheading {...args} />
<Content {...args} />
<Caption {...args} />
<ErrorText {...args} />
</>
);
# Test
This component renders all Typography levels.
## Props
<ArgsTable story="Default"/>
## Examples
<Story name="Default" args={{text: "Example", icon: "alarm"}}>
{Template.bind({})}
</Story>
content_copyCOPY
Comments