Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a extension API #258

Merged
merged 7 commits into from
Jun 20, 2016
Merged

Implement a extension API #258

merged 7 commits into from
Jun 20, 2016

Conversation

arunoda
Copy link
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>
  )
);

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