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

Function Example

starters/docs/stories/RadioGroup.stories.tsx:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14type Story = StoryFn<typeof RadioGroup>;
15
16export const Example: Story = args => (
17 <RadioGroup {...args}>
18 <Radio value="soccer">Soccer</Radio>
19 <Radio value="baseball">Baseball</Radio>
20 <Radio value="basketball">Basketball</Radio>
21 </RadioGroup>
22);
23
24Example.args = {
25 label: 'Favorite sport'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected