devmaker-rn-sdk
v1.0.0
Published
UI library and Helpers by DevMaker Mobile Apps
Downloads
2
Readme
Devmaker React Native SDK
Bring some of the handfullness of Bootstrap's helpers to React Native
👀
- https://github.com/facebook/react-native/blob/master/RNTester/js/examples/PlatformColor/PlatformColorExample.js
- https://reactnativejobs.com/blog/react-native-pressable-platformcolor-dynamiccolor/?utm_campaign=React%2BNative%2BNow&utm_medium=web&utm_source=React_Native_Now_63
Setup:
yarn add devmaker-rn-sdk
???
Theme:
Follow this even if you if will not change any theme settings.
Create a
constants/Theme.js
import { DefaultTheme } from "devmaker-rn-sdk"; export default { ...DefaultTheme, colors: { ...DefaultTheme.colors, primary: "green", } };
- see all theme variables here: src/Theme.js
Wrap you app with ReactNativeElements's ThemeProvider
in
App.js
:import Theme from './constants/Theme.js'; const MyApp = () => { return ( <ThemeProvider theme={Theme}> <[YOURAPP] /> </ThemeProvider> ); };
Custom Fonts:
- TODO
View
- Row
f1
...f12
Buttom
primary
secondary
success
danger
warning
info
light
dark
link