Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Style = React.createClass({
- render: function() {
- var style = assign({}, this.props);
- delete style.children;
- return React.createElement(
- 'div',
- {style: style, children: this.props.children}
- );
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement