Skip to content

Commit

Permalink
Merge pull request #15894 from BANOnotIT/patch-1
Browse files Browse the repository at this point in the history
Change -- to ― in whats-a-story.md
  • Loading branch information
shilman committed Aug 30, 2021
2 parents ed40e92 + 242a70a commit 09ccfc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/get-started/whats-a-story.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A story captures the rendered state of a UI component. Developers write multiple

The CLI created example components that demonstrate the types of components you can build with Storybook: Button, Header, and Page.

Each example component has a set of stories that show the states it supports. You can browse the stories in the UI and see the code behind them in files that end with `.stories.js` or `.stories.ts`. The stories are written in Component Story Format (CSF)--an ES6 modules-based standard--for writing component examples.
Each example component has a set of stories that show the states it supports. You can browse the stories in the UI and see the code behind them in files that end with `.stories.js` or `.stories.ts`. The stories are written in Component Story Format (CSF)an ES6 modules-based standardfor writing component examples.

Let’s start with the `Button` component. A story is a function that describes how to render the component in question. Here’s how to render `Button` in the “primary” state and export a story called `Primary`.

Expand Down

0 comments on commit 09ccfc1

Please sign in to comment.