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

Function Example

starters/docs/stories/ToggleButtonGroup.stories.tsx:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected