Browse Source

Clean stories

master
Loëck Vézien 7 years ago
parent
commit
f8fb002e96
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 5
      src/components/Breadcrumb/stories.js
  2. 5
      src/components/base/Tabs/stories.js

5
src/components/Breadcrumb/stories.js

@ -10,7 +10,10 @@ const stories = storiesOf('Breadcrumb', module)
stories.add('basic', () => ( stories.add('basic', () => (
<Breadcrumb <Breadcrumb
currentStep={number('currentStep', 1)} currentStep={number('currentStep', 1, {
min: 1,
max: 4,
})}
items={[ items={[
{ label: 'Amount' }, { label: 'Amount' },
{ label: 'Summary' }, { label: 'Summary' },

5
src/components/base/Tabs/stories.js

@ -12,7 +12,10 @@ const stories = storiesOf('Tabs', module)
stories.add('basic', () => ( stories.add('basic', () => (
<Tabs <Tabs
index={number('index', 0)} index={number('index', 0, {
min: 0,
max: 1,
})}
onTabClick={action('onTabClick')} onTabClick={action('onTabClick')}
items={[ items={[
{ {

Loading…
Cancel
Save