diff --git a/.gitignore b/.gitignore
index a6d3208..2411d93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,6 @@ src/**/*.css
# editors
/.vscode/
.idea/*
+
+# storybook build
+/storybook-static
diff --git a/src/stories/index.js b/src/stories/index.js
index ff8b28a..79b77da 100644
--- a/src/stories/index.js
+++ b/src/stories/index.js
@@ -12,170 +12,131 @@ import Identicon from '../Components/Identicon'
import Icon from '../Components/Icon'
import SearchBar from '../Components/SearchBar'
-import Input from '../Input'
-import TruncatedTextBox from '../TruncatedTextBox'
-import Grid from '../ContractsTable/Grid'
+import Input from '../Components/Input'
+import TruncatedTextBox from '../Components/TruncatedTextBox'
+import Grid from '../Components/ContractsTable/Grid'
import '../bootstrap/index.css'
/** *************** Icon *****************/
-storiesOf('Icon', module)
- .add(
- 'Icon with name=Disputes, theme=dark',
- () =>
- )
+storiesOf('Icon', module).add('Icon with name=Disputes, theme=dark', () => (
+
+))
/** *************** Identicon *****************/
storiesOf('Identicon', module)
.add('default (50x50)', () => )
- .add(
- 'small format (24x24)',
- () =>
- )
+ .add('small format (24x24)', () => (
+
+ ))
/** *************** ShortProfile *****************/
storiesOf('ShortProfile', module)
.add('default', () => )
- .add(
- 'with icon, username and balance',
- () => (
+ } />
- )
- .add(
- 'with dark background, icon, address and balance',
- () => }
+ />
+ ))
+ .add('with dark background, icon, address and balance', () => (
+ } />
- )
+ icon={}
+ />
+ ))
.add(
'with dark background, icon, address, balance and active notification',
- () => } />
+ () => (
+ }
+ />
+ )
)
/** *************** ItemMenuSidebar *****************/
storiesOf('ItemMenuSidebar', module)
.addDecorator(StoryRouter())
- .add(
- 'default',
- () =>
- )
- .add(
- 'with dark background and name',
- () =>
- )
+ .add('default', () => )
+ .add('with dark background and name', () => (
+
+ ))
/** *************** MenuSidebar *****************/
storiesOf('MenuSidebar', module)
.addDecorator(StoryRouter())
- .add(
- 'default',
- () =>
- )
- .add(
- 'with items=Disputes,Contracts',
- () =>
- )
+ .add('default', () => )
+ .add('with items=Disputes,Contracts', () => (
+
+ ))
/** *************** Sidebar *****************/
storiesOf('Sidebar', module)
.addDecorator(StoryRouter())
- .add(
- 'with items=Disputes, Contracts, Jury',
- () =>
-
- )
+ .add('with items=Disputes, Contracts, Jury', () => (
+
+ ))
- /** *************** SearchBar *****************/
+/** *************** SearchBar *****************/
-storiesOf('SearchBar', module)
- .add(
- 'default',
- () =>
-
- )
+storiesOf('SearchBar', module).add('default', () => )
- /** ************** Input ********************/
+/** ************** Input ********************/
storiesOf('Input', module)
- .add(
- 'default',
- () =>
- )
- .add(
- 'input text type with placeholder',
- () =>
- )
- .add(
- 'textarea with placeholder',
- () =>
- )
- .add(
- 'radio button',
- () =>
- )
- .add(
- 'file input type with placeholder',
- () =>
- )
+ .add('default', () => )
+ .add('input text type with placeholder', () => (
+
+ ))
+ .add('textarea with placeholder', () => (
+
+ ))
+ .add('radio button', () => )
+ .add('file input type with placeholder', () => (
+
+ ))
/** *************** TruncatedTextBox *****************/
storiesOf('TruncatedTextBox', module)
- .add('default',
- () =>
- )
- .add(
- 'with text and truncatedCharacters=4',
- () => )
+ .add('with text and truncatedCharacters=4', () => (
+
- )
- .add(
- 'with text length less than truncatedCharacter=8',
- () =>
+ ))
+ .add('with text length less than truncatedCharacter=8', () => (
+
- )
+ truncatedCharacters={8}
+ />
+ ))
/** *************** Grid ****************/
storiesOf('Grid', module)
- .add(
- 'default',
- () =>
- )
- .add(
- 'with input text and icon',
- () =>
-
-
-
-
- )
+ .add('default', () => )
+ .add('with input text and icon', () => (
+
+
+
+
+ ))