react-native-hyperscript
react-hyperscript
a fork ofHyperscript syntax for React.js React Native markup.
Usage
var h = ;var React = ; var styles = StyleSheet; var AwesomeProject = React;
Documentation
h(component, properties, children)
Returns a React Native element.
- component
Object
- A React-native component. - properties
Object
(optional) - An object containing the properties you'd like to set on the element. - children
Array|String
(optional) - An array ofh()
children or a string. This will create child elements or text, respectively.