From 157da235b62010f2df7223ec95298361fbe6348f Mon Sep 17 00:00:00 2001 From: Aaron Panchal Date: Wed, 7 Dec 2016 08:41:10 -0800 Subject: [PATCH] Update the header in storybook docs --- .storybook/config.js | 13 ++++++++----- stories/Forms.js | 15 ++++----------- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.storybook/config.js b/.storybook/config.js index c5af5e573..8096abf16 100644 --- a/.storybook/config.js +++ b/.storybook/config.js @@ -4,11 +4,14 @@ import { Container } from '../src'; import { configure, setAddon, addDecorator } from '@kadira/storybook'; addDecorator((story, info) => ( - -

{info.kind}

-

{info.story}

-
- {story()} + +
+

{info.kind}

+

{info.story}

+
+
+ {story()} +
)); diff --git a/stories/Forms.js b/stories/Forms.js index 1fabfc017..068d7d82b 100644 --- a/stories/Forms.js +++ b/stories/Forms.js @@ -6,24 +6,17 @@ import { FormRow, FormChoice, CurrencyInput } from '../src'; storiesOf('Forms', module) .addWithInfo('Inputs', () => ( - -

Inputs

-

An Input is the simplest unit for building forms.

- +

Default (Text) Input

Custom Inputs

<CurrencyInput/>

- +
)) .addWithInfo('Form Rows', () => ( - -

Form Rows

-

A FormRow combines a label and an input with an interface to provide feedback, hints, and can specify whether or not the field is required.

- -

Example

+
@@ -54,5 +47,5 @@ storiesOf('Forms', module) No - + ));