An open API service indexing awesome lists of open source software.

https://github.com/nitaking/react-native-create-templete

React Native create files in one page
https://github.com/nitaking/react-native-create-templete

react react-native

Last synced: about 1 year ago
JSON representation

React Native create files in one page

Awesome Lists containing this project

README

          

# react-native-create-templete
- flow

## Components
```jsx
// @flow
import React, { Component } from 'react';
import { View, Text, TouchableOpacity } from 'react-native';
import styles from './styles';

type Props = {

};

export default class MyComponent extends Component {
static defaultProps = {
};

render() {
return (


);
}
}

```

## Stateless Functional Components
```jsx
// @flow
import React, { Component } from 'react';
import { View } from 'react-native';
import styles from './styles';

type Props = {

};

const component = (props:Props) => {
const { value } = props;

return (


);
}

export default component;

```

## Styles
```jsx
// @flow
import { StyleSheet } from 'react-native';

const styles = StyleSheet.create({
container: {
},
});

export default styles;

```