From 157b88e580ace4c366298bf216d137cd38bd9688 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 11 Oct 2017 10:42:59 +0200 Subject: [PATCH] Add screenshot to the readme --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 38a168a..bd24a7a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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',