Skip to content

the-mes/react-native-typescript-npm-starter

Repository files navigation

NPM version NPM downloads NPM license run in expo snack Codecov Travis Bundle size

About

Template for React Native TypeScript library

Similar Projects / Alternatives / Idea

How to Install

First, install the library in your project by npm:

npm install react-native-typescript-npm-starter

Or Yarn:

yarn add react-native-typescript-npm-starter

Getting Started

Connect the library to the project with ES6 import:

import { HelloWorld } from 'react-native-typescript-npm-starter'

Options

HelloWorld

Name Type Description
text string Custom Hello World message

Example

import React from 'react'
import { HelloWorld } from 'react-native-typescript-npm-starter'

const App = () => {
  return <HelloWorld text="Good Morning!" />
}

export default App

License

This project is licensed under the MIT License © 2021-present Jakub Biesiada