UNPKG

fluid-react

Version:
23 lines (19 loc) 529 B
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> ) } }