Skip to content

Implement a extension API#258

Merged
arunoda merged 7 commits intomasterfrom
addons
Jun 20, 2016
Merged

Implement a extension API#258
arunoda merged 7 commits intomasterfrom
addons

Conversation

@arunoda
Copy link
Copy Markdown
Member

@arunoda arunoda commented Jun 20, 2016

We only had a way to add decorators to a local story kind.
With this PR, we are bring global decorators and a new addon API.

With that addon API, we'll be able to add new APIs to create stories. Just like below:

stories.addWithInfo(
  'Basic Modal',
  `
    The \`<Story>\` component can be used to show additional information with
    your story.
  `,
  () => (
    <Button>The Button Text</Button>
  )
);

@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented Dec 24, 2024

View your CI Pipeline Execution ↗ for commit ea8eb4f.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 29s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-30 15:03:08 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants