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

Function Example

starters/hooks/stories/ToggleButtonGroup.stories.tsx:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14type Story = StoryFn<typeof ToggleButtonGroup>;
15
16export const Example: Story = args => (
17 <ToggleButtonGroup {...args}>
18 <ToggleButton id="left">Left</ToggleButton>
19 <ToggleButton id="center">Center</ToggleButton>
20 <ToggleButton id="right">Right</ToggleButton>
21 </ToggleButtonGroup>
22);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected