import { Story } from "@storybook/react" ; import Header , { HeaderProps } from "../components/Header" ; export default { title : "Header" , argTypes : { onSignIn : { action : "clicked" } } , } ; const Template = ( args ) => < Header { ... args } / > ; export const ContactLink = Template . bind ( { } ) ; ContactLink . args = { links : [ { title : "Contact" , url : "/contact" , } , ] , } ;