mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:31:27 +08:00
32 lines
692 B
JavaScript
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; |