@nativescript-dom/react-types
TypeScript definitions for @nativescript/core views exposed as JSX intrinsic elements for react
npm i --save @nativescript-dom/react-types
- Version: 1.0.4
- GitHub: https://github.com/nativescript-dom/types
- NPM: https://www.npmjs.com/package/%40nativescript-dom%2Freact-types
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
react-types
Typescript types for react-nativescript that give you proper and complete intellisense in code editors.
Installtion
- Install the
core
andreact
types in your project
npm install @nativescript-dom/core-types @nativescript-dom/react-types --save-dev
- Configure
tsconfig.json
as below
{
"compilerOptions": {
...
"types": [
"node",
"@nativescript-dom/core-types",
"@nativescript-dom/react-types"
],
...
}
That's it, enjoy a fully typed react-nativescript experience.
MIT Licensed