import { Button, PageHeader } from '../index'; import { PageHeaderProps } from './PageHeader'; import { Story } from '@storybook/react'; export default { title: 'Components/PageHeader', component: PageHeader, parameters: { layout: 'padded', }, }; const RightButtons = [ , , ]; const Template: Story = (args: any) => ( 'Send mail automation'} {...args} /> ); export const Default = Template.bind({}); Default.args = { RightButtons: RightButtons, }; export const WithoutButtons = Template.bind({}); WithoutButtons.args = { RightButtons: undefined, };