Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2
ReScript bindings for react-native-linear-gradient
License
rescript-react-native/linear-gradient
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ReScript bindings forreact-native-linear-gradient.
Exposed asReactNativeLinearGradient module.
@rescript-react-native/linear-gradient X.y.* means it's compatible withreact-native-linear-gradient X.y.*
Whenreact-native-linear-gradientis properly installed & configured by following their installation instructions,you can install the bindings:
npm install @rescript-react-native/linear-gradient#oryarn add @rescript-react-native/linear-gradient
@rescript-react-native/linear-gradient should be added tobs-dependencies inyourbsconfig.json:
{ //... "bs-dependencies": [ "@rescript/react", "rescript-react-native", // ...+ "@rescript-react-native/linear-gradient" ], //...}openReactNativemoduleMyApp= {letstyles=Style.(StyleSheet.create({"container":viewStyle(~flex=1., ()) }) ); [@react.component]letmake= ()=> { <ReactNativeLinearGradientcolors=[|"#faa","#afa"|]style=styles##container> <Text>"Hello world"->React.string </Text> </ReactNativeLinearGradient> }};
Check thechangelog for more informations about recentreleases.
Read thecontribution guidelinesbefore contributing.
We want this community to be friendly and respectful to each other. Please readour full code of conductso that you can understand what actions will and will not be tolerated.
About
ReScript bindings for react-native-linear-gradient
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.