react-native-apex-ui

A react native cross platform ui kit.
include
- Button
- Dialog
- Drawer
- ActionSheet
- Toast
- Tooltip
- Carousel
- Popover
- Tag
- TouchableRipple
- ...
Installation
- step 1
npm i react-native-apex-ui --save
- step 2
react-native link react-native-vector-icons
Get Started
UiThemeProvider
At the beginning, apex ui components require a UiThemeProvider
to be provided. You can’t use any components without wrapping the root component in <UiThemeProvider>
:
; const App = <UiThemeProvider> <Root /> </UiThemeProvider>;
Following that, you can use any of the components:
; state = open: false ; { this; } { this; }; { return <View> <RippleButton caption='BUTTON' backgroundColor='#2c8cff' captionColor='#fff' onPress=thishandleRequestOpen /> <Toast open=thisstateopen message='Hello toast!' onRequestClose=thishandleRequestClose /> </View> ; }
Examples
check out RNApexUIExample