mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
Update index.md
The react starter guide docs point to a `<Button>` component that doesn't exist. This PR corrects that.
This commit is contained in:
parent
b17485925e
commit
6dbc64656d
@ -81,7 +81,7 @@ Now you can write some stories inside the `../stories/index.js` file, like this:
|
||||
import React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import Button from '../components/Button';
|
||||
import { Button } from '@storybook/react/demo';
|
||||
|
||||
storiesOf('Button', module)
|
||||
.add('with text', () => (
|
||||
|
Loading…
x
Reference in New Issue
Block a user