1 | 'use strict';
|
2 |
|
3 | var _react = require('react');
|
4 |
|
5 | var _react2 = _interopRequireDefault(_react);
|
6 |
|
7 | var _index = require('./index');
|
8 |
|
9 | var Pattern = _interopRequireWildcard(_index);
|
10 |
|
11 | var _storybook = require('@kadira/storybook');
|
12 |
|
13 | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
14 |
|
15 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
16 |
|
17 | (0, _storybook.storiesOf)('Pattern').addWithInfo('diagonal', 'Diagonal pattern', function () {
|
18 | return _react2.default.createElement(Pattern.Diagonal, { style: { width: '200px', height: '200px' } });
|
19 | }); |
\ | No newline at end of file |