bs-react-native-paper
bs-react-native-paper copied to clipboard
The module or file Paper can't be found.
Current behaviour
Installing bs-react-native-paper
in an empty Reason react native project, gives the following error:
The module or file Paper can't be found.
Expected behaviour
Not fail on using it.
Code sample
let theme =
Paper.ThemeProvider.(
createTheme(
~colors=
themeColors(
~primary="#6200EE",
~accent="#03dac4",
~background="#f6f6f6",
~surface="white",
~error="#B00020",
~text="black",
~disabled="rgba(0, 0, 0, 0.26)",
~placeholder="rgba(0, 0, 0, 0.54)",
~backdrop="rgba(0, 0, 0, 0.5)",
),
(),
)
);
What have you tried
I'm using jsx:3
and already added the bs-dependency.
I tried to jump into node_modules/bs-react-native-paper and tried to change namespace inside bsconfig, since it's a "true"
and should be "paper" I guess, but I didn't make it work.
Your Environment
software | version |
---|---|
ios or android | ios |
react-native | 33.0.0 |
react-native-paper | 2.16.0 |
bs-react-native-paper | 4.0.5 |
node | 12 |
reason-react-native": | 0.60.0 |
bs-platform | 5.0.6 |
Don't usually do this, but since this hasn't been addressed and is months old:
+1
@ballenwillis Would you like to fix this issue? We no longer use ReasonML and we have very limited time and resources to work on this package. Would be awesome to have external contributor who could maintain this library.