import React, { useState } from "react"; import { ComponentMeta, ComponentStory } from "@storybook/react"; import { Avatar, Breadcrumb, BreadcrumbItem, PageHeader, Button, ButtonList } from "../"; import avatarJpg from '../assets/avatar.png'; export default { title: "Components/PageHeader", component: PageHeader } as ComponentMeta; const Template: ComponentStory = (args) => ; export const Simple = Template.bind({}); Simple.args = { preTitle: 'Overview', title: 'Dashboard', action: } export const WithAvatarAndMeta = Template.bind({}); WithAvatarAndMeta.args = { avatar: , title: 'Paweł Kuna', subTitle:
Verified
, action: } export const WithSearchAndBorder = Template.bind({}); WithSearchAndBorder.args = { title: 'Gallery', subTitle: '1-12 of 241 photos', bordered: true, action: } export const WithBreadcrumb = Template.bind({}); WithBreadcrumb.args = { preTitle: Home Library Articles , title: 'Knights of Ni, we are but simple travelers who seek the enchanter who lives beyond these woods.', action: }