import React from "react" ; import { Meta , Story } from "@storybook/react" ; import { LoginPage } from "./LoginPage" ; export default { title : "Pages/MenuPage/LoginPage" , component : LoginPage , argTypes : { updateUser : { action : "updateUser" } } } as Meta ; const Template = ( args ) => < LoginPage { ... args } / > ; export const Default = Template . bind ( { } ) ; Default . args = { } ;