fluid-react
Version:
Grid system for React
23 lines (19 loc) • 529 B
JavaScript
import React, { Component } from 'react';
import { JS } from 'fsts';
import GridStyle from './GridStyle';
export default class W100 extends Component {
render() {
const { style } = this.props;
const styl = Object.assign(
{},
style,
GridStyle.w100
);
const p = JS.lessProps(this.props, 'style');
return (
<div className="fluid-react-w100" style={styl} {...p}>
{this.props.children}
</div>
)
}
}