uatcomponent
Version:
42 lines (35 loc) • 778 B
JavaScript
//@flow
/**
* 页面:空白行 created by Mark
*/
import React, { Component } from 'react';
import { View,
Text,
TouchableOpacity,
Image,
ViewStyle,
StyleSheet,
} from 'react-native';
import { BlankModel,ComponentBase ,ComponentProps} from "../../model";
type Props = {
style:ViewStyle
} & ComponentProps<BlankLine,Object>;
type State = {
};
export class BlankLine extends Component <Props,State>{
/**初始化state*/
state:State = {
}
/**渲染函数*/
render(){
const {content} = this.props.data;
const {height} = content;
return (
<View style={{height:height,width:'100%'}}>
</View>
)
}
}
//样式
const styles = StyleSheet.create({
})