Template for React Native TypeScript library
First, install the library in your project by npm:
npm install react-native-typescript-npm-starterOr Yarn:
yarn add react-native-typescript-npm-starterConnect the library to the project with ES6 import:
import { HelloWorld } from 'react-native-typescript-npm-starter'| Name | Type | Description |
|---|---|---|
| text | string | Custom Hello World message |
import React from 'react'
import { HelloWorld } from 'react-native-typescript-npm-starter'
const App = () => {
return <HelloWorld text="Good Morning!" />
}
export default AppThis project is licensed under the MIT License © 2021-present Jakub Biesiada