igloo-rn-widget
v0.2.0
Published
general rn widget for igloo
Downloads
31
Readme
igloo-rn-widget
general rn widget for igloo
Installation
npm install igloo-rn-widget
Usage
Supported Component
import {
Alert,
Amount,
Button,
DatePicker,
Email,
Input,
Phone,
Preview,
Select,
Status,
TextArea,
Upload,
Fold,
Dialog,
Checkbox,
RadioGroup,
Card,
} from 'igloo-rn-widget';
Custom Theme
create a file named custom-theme.js
put the code below into the custom-theme.js file
import { customTheme } from 'igloo-rn-widget/lib/module/theme'; customTheme({ Colors: { primary: '#009AFF', primaryLight: '#F4F7FE', }, });
import custom-theme at the most begining of you rn index file.
import './custom-theme'; import { AppRegistry } from 'react-native'; AppRegistry.registerComponent('App', () => App);
Preview
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT