import { ComponentMeta, ComponentStory } from "@storybook/react"; import { OTP } from "./"; // More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export export default { title: "Example/OTP", component: OTP, } as ComponentMeta; // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args const Template: ComponentStory = (args) => ( <>

Hello world

{ console.log(code); }} > ); export const Primary = Template.bind({}); // More on args: https://storybook.js.org/docs/react/writing-stories/args Primary.args = {};