Skip to content

Commit

Permalink
ag - Add disabled knob for Select to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
almgong committed Nov 22, 2017
1 parent 175d48b commit 36dfc9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stories/Select.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { Select } from '../src';
import { action, storiesOf } from '@storybook/react';
import { select } from '@storybook/addon-knobs';
import { boolean, select } from '@storybook/addon-knobs';

import COUNTRIES from '../src/components/address/Countries.js';

Expand All @@ -10,6 +10,7 @@ storiesOf('Select', module)
<div>
<Select
className="w-100"
disabled={boolean('disabled', false)}
options={COUNTRIES}
onChange={action('onChange')}
/>
Expand Down

0 comments on commit 36dfc9a

Please sign in to comment.