import {Header} from "ui"; import {ArgsTable, Canvas, Meta, Story} from "@storybook/addon-docs"; <Meta title="Components/Sections/Header/old" component={Header}/> export const Template = (args) => <Header {...args} />; # Header Description of a Header ## Props <ArgsTable story="Default"/> ## Examples <Canvas> <Story name="Default" args={{ title: "Example header title", description: "Example page description", }} > {Template.bind({})} </Story> </Canvas>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter