import { useState } from "react"; import { InputTimeEntity } from "./InputTimeEntity"; import { makeStory } from "devUtils"; const { make, componentMeta } = makeStory({ Component: InputTimeEntity, meta: { title: "Inputs/InputTimeEntity", }, BaseTemplate: (args) => { const [value, setValue] = useState(""); return (
{ setValue(t); args.onChange(t); }} />
); }, }); export const SimpleText = make({});