zajno-react-ui-kit
Version:
ui-kit styles wrapped to ReactJS Component in React Native name-space.
15 lines (12 loc) • 354 B
JavaScript
import React from 'react';
import Component from './Component';
class ViewColor extends Component {
render(){
return (
<div style={{background: this.props.background}} className={this.getClassName(this.props) + " view-color"}>
{this.props.children}
</div>
)
}
}
export default ViewColor;