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

Function Example

starters/docs/stories/Form.stories.tsx:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15type Story = StoryFn<typeof Form>;
16
17export const Example: Story = args => (
18 <Form {...args}>
19 <TextField name="email" type="email" isRequired label="Email" placeholder="Enter your email" />
20 <Button type="submit">Submit</Button>
21 </Form>
22);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected