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

Function Example

starters/docs/stories/Button.stories.tsx:15–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13type Story = StoryFn<typeof Button>;
14
15export const Example: Story = args => <Button {...args}>Press me</Button>;
16
17Example.args = {
18 onPress: () => alert('Hello world!')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected