rescript-react-native / paper Goto Github PK
View Code? Open in Web Editor NEWReScript bindings for react-native-paper
License: MIT License
ReScript bindings for react-native-paper
License: MIT License
When I try use the component with base in documentation has error:
The module or file Paper.Dialog.Description can't be found.
https://www.npmjs.com/@reason-react-native/paper is not available.
When trying using useRef
in a Paper.TextInput
the rescript throws This has type: React.ref<Js.Nullable.t<'a>> Somewhere wanted: Js.Nullable.t<'b> => unit
Steps to reproduce:
let inputRef = React.useRef(Js.Nullable.null)
<Paper.TextInput
ref=inputRef
mode=#outlined
/>
Expect to compiler compile to use the ref
The compiler throws: This has type: React.ref<Js.Nullable.t<'a>> Somewhere wanted: Js.Nullable.t<'b> => unit
PopOS 20.04
expo 40.0
react 17.0.1
react native 0.63.4
rescript 9.1.4
rescript-react-native 0.64.3
react-native-paper 4.4.1
@rescript-react-native/paper 3.0.6
After create basic app with rescript-react-native I install this lib, but after compile the file App.res
to App.bs.js
is used the lib react-native-paper
but not found this lib and crash app.
Steps to reproduce:
After compile lib the react-native find the react-native-paper or use the react-native-paper from bind rescript
Crash app because no found react-native-paper lib.
libs install:
"@rescript-react-native/paper": "^3.0.6",
"@rescript/react": "^0.10.0",
"react": "17.0.1",
"react-native": "0.64.0",
"rescript-react-native": "^0.64.3"
running in emulator android API_30
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.