diff --git a/.changeset/funny-gifts-shave.md b/.changeset/funny-gifts-shave.md new file mode 100644 index 0000000000..fe430e8705 --- /dev/null +++ b/.changeset/funny-gifts-shave.md @@ -0,0 +1,5 @@ +--- +"@ultraviolet/ui": minor +--- + +New component `` diff --git a/packages/ui/src/components/TimeInputV2/__stories__/Controlled.stories.tsx b/packages/ui/src/components/TimeInputV2/__stories__/Controlled.stories.tsx new file mode 100644 index 0000000000..b6eba69cd4 --- /dev/null +++ b/packages/ui/src/components/TimeInputV2/__stories__/Controlled.stories.tsx @@ -0,0 +1,54 @@ +import type { StoryFn } from '@storybook/react' +import { useState } from 'react' +import { type Time, TimeInputV2 } from '..' +import { Button } from '../../Button' +import { Stack } from '../../Stack' + +export const Controlled: StoryFn = args => { + const [value24, setValue24] = useState