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

Function Example

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected