1 |
- var _extends=Object.assign||function(a){for(var b,c=1;c<arguments.length;c++)for(var d in b=arguments[c],b)Object.prototype.hasOwnProperty.call(b,d)&&(a[d]=b[d]);return a};import React from'react';class Col extends React.Component{constructor(a){super(a)}render(){let a=['col'+(this.props.size?'-'+this.props.size:''),'col-sm-'+this.props.smsize,'col-md-'+this.props.mdsize,'col-lg-'+this.props.lgsize,'col-xl-'+this.props.xlsize],b=a.join(' ');return React.createElement('div',_extends({},this.props,{className:this.props.className+' '+b+' offset-'+this.props.offset}),this.props.children)}}Col.EditPosition='top-center',Col.Category='Layout';export default Col;
|