0.2.0 • Published 2 years ago

igloo-rn-widget v0.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

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

  1. create a file named custom-theme.js
  2. 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',
      },
    });
  3. 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

npm.io

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.2.0

2 years ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.24

3 years ago

0.1.25

3 years ago

0.1.26

3 years ago

0.1.23

3 years ago

0.1.22

4 years ago

0.1.21

4 years ago

0.1.20

4 years ago

0.1.19

4 years ago

0.1.18

4 years ago

0.1.17

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago