import { Meta , Story } from "@storybook/react" ; import { ComponentProps } from "react" ; import { PlayerGameProfile } from "./PlayerGameProfile" ; export default { title : "Player/PlayerGameProfile" , component : PlayerGameProfile , argTypes : { } } as Meta ; const Template = ( args ) => < PlayerGameProfile { ... args } / > ; export const Default = Template . bind ( { } ) ; Default . args = { health : 73 , level : 4 , xp : 2 , money : 15 , pieceCount : 3 } as ComponentProps < typeof PlayerGameProfile > ;