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

Function Example

starters/hooks/stories/CheckboxGroup.stories.tsx:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected