1 | 'use strict';
|
2 |
|
3 | var _react = require('react');
|
4 |
|
5 | var _react2 = _interopRequireDefault(_react);
|
6 |
|
7 | var _storybook = require('@kadira/storybook');
|
8 |
|
9 | var _index = require('./index');
|
10 |
|
11 | var _index2 = _interopRequireDefault(_index);
|
12 |
|
13 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
14 |
|
15 | (0, _storybook.storiesOf)('Tag Input').addWithInfo('default', 'Tag input', function () {
|
16 | return _react2.default.createElement(_index2.default, null);
|
17 | }).addWithInfo('suggestions', 'Tag input with suggestions', function () {
|
18 | return _react2.default.createElement(_index2.default, { suggestions: ['Banana', 'Mango', 'Apple', 'Apple v2', 'Pear'] });
|
19 | }); |
\ | No newline at end of file |