Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 877 Bytes

react-native.md

File metadata and controls

55 lines (42 loc) · 877 Bytes
date tags
2020-08-25
dev/react

React-Native

A [[js]] framework for making native apps.

mkdir my-component && cd my-component
yarn init // or npm init
yarn add ... //add dependencies

Export components from index.js

import Component from './src/Component'

export { Component }

Ignore files:

### .gitignore
# Logs
*.log
npm-debug.log

# Runtime data
tmp
build
dist

# Dependency directory
node_modules

### .npmignore
# Logs
*.log
npm-debug.log

# Dependency directory
node_modules

# Runtime data
tmp

# Examples (If applicable to your project)
examples

Finally, yarn publish