import {Heading} from "ui"; import {ArgsTable, Meta, Story} from "@storybook/addon-docs"; <Meta title="Components/Text/Heading/old" component={Heading}/> export const Template = (args) => <Heading {...args} />; # Heading This component renders a styled `<H2>` and should be used for the most important headings on the page. ## Props <ArgsTable story="Default"/> ## Examples <Story name="Default" args={{text: "Example"}}> {Template.bind({})} </Story>