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', () => (
<Breadcrumb
currentStep={number('currentStep', 1)}
currentStep={number('currentStep', 1, {
min: 1,
max: 4,
})}
items={[
{ label: 'Amount' },
{ label: 'Summary' },

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

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

Loading…
Cancel
Save