MCPcopy Create free account
hub / github.com/adobe/react-spectrum / Validation

Function Validation

starters/tailwind/stories/TimeField.stories.tsx:22–29  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

20export const Example = (args: any) => <TimeField {...args} />;
21
22export const Validation = (args: any) => (
23 <Form className="flex flex-col gap-2 items-start">
24 <TimeField {...args} />
25 <Button type="submit" variant="secondary">
26 Submit
27 </Button>
28 </Form>
29);
30
31Validation.args = {
32 isRequired: true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected