UNPKG

weex-nuke

Version:

基于 Rax 、Weex 的高性能组件体系 ~~

19 lines (15 loc) 360 B
/** @jsx createElement */ import { Component, createElement, render } from 'rax'; import View from 'nuke-view'; class Grid extends Component { render() { const { style, ...others } = this.props; return <View {...others} style={[styles.initial, style]} />; } } const styles = { initial: { flexDirection: 'row', }, }; export default Grid;