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

Function Validation

starters/tailwind/stories/TextField.stories.tsx:23–30  ·  view source on GitHub ↗
(args: any)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected