Skip to content

Commit

Permalink
Add screenshot to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sambego authored Oct 11, 2017
1 parent eb31671 commit 157b88e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Storybook styles

This [storybook](https://storybook.js.org/) decorator allows you to add custom styles to the storybook preview panel.

![Screenshot of a styles storybook preview](./storybook-styles.png)

### Getting Started

```sh
Expand All @@ -15,6 +19,7 @@ import styles from "@sambego/storybook-styles";

storiesOf("Button", module)
.addDecorator(styles({
fontFamily: 'Helvetica, Arial, sans-serif',
background: '#e1ecfa',
display: 'flex',
alignItems: 'center',
Expand Down

0 comments on commit 157b88e

Please sign in to comment.