UNPKG

796 BJavaScriptView Raw
1'use strict';
2
3var _react = require('react');
4
5var _react2 = _interopRequireDefault(_react);
6
7var _index = require('./index');
8
9var Pattern = _interopRequireWildcard(_index);
10
11var _storybook = require('@kadira/storybook');
12
13function _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
15function _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