pageHeading.stories.mdx
Mon Mar 25 2024 17:01:17 GMT+0000 (Coordinated Universal Time)
Saved by
@rafal_rydz
import {PageHeading} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";
<Meta title="Components/Text/PageHeading/old" component={PageHeading}/>
export const Template = (args) => <PageHeading {...args} />;
# PageHeading
This component renders a styled `<H1>` for the PageHeading.
There should be 1 of these on every page!
## Props
<ArgsTable story="Default"/>
## Examples
<Story name="Default" args={{text: "Example"}}>
{Template.bind({})}
</Story>
content_copyCOPY
Comments