import type { ComponentMeta, ComponentStory } from '@storybook/react'; import NextImage from 'next/image'; import { Heading } from '../../atoms'; import { Branding } from './branding'; /** * Branding - Storybook Meta */ export default { title: 'Molecules/Branding', component: Branding, args: {}, argTypes: { baseline: { control: { type: 'object', }, description: 'The brand baseline.', type: { name: 'function', required: false, }, }, logo: { control: { type: 'object', }, description: 'The brand logo.', type: { name: 'function', required: true, }, }, name: { control: { type: 'object', }, description: 'The brand name.', type: { name: 'function', required: true, }, }, url: { control: { type: 'string', }, description: 'The homepage url.', type: { name: 'string', required: false, }, }, }, } as ComponentMeta; const Template: ComponentStory = (args) => ( ); /** * Branding Stories - Logo and title */ export const LogoAndTitle = Template.bind({}); LogoAndTitle.args = { logo: ( ), name: Your brand name, }; /** * Branding Stories - Logo, title and baseline */ export const LogoTitleAndBaseline = Template.bind({}); LogoTitleAndBaseline.args = { baseline:
Your brand baseline if any
, logo: ( ), name: Your brand name, };