storybook/dist/client/ui/layout.js
Arunoda Susiripala 47f621163d Rearrange modules
2016-03-21 18:03:57 +05:30

32 lines
692 B
JavaScript

'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Layout = function Layout(_ref) {
var controls = _ref.controls;
var content = _ref.content;
return _react2.default.createElement(
'div',
{ style: {} },
_react2.default.createElement(
'div',
{ style: { width: '250px', float: 'left' } },
controls
),
_react2.default.createElement(
'div',
{ style: { marginLeft: '250px' } },
content
)
);
};
exports.default = Layout;