react-native-ui-modules
Cross platform react native components
Last updated 6 months ago by ajay_g .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-native-ui-modules 
SYNC missed versions from official npm registry.

React Native Components

Cross platform react native components https://zealous-snyder-a3ec60.netlify.app/

Getting Started

Prerequisites

NodeJS >= v12.11.1 react-native-cli >= 2.0.1 react-native >= 0.61 npm >= 5.6.0

Table of Contents

Install

This package uses react-native-vector-icons, you can follow this installation instructions

npm:

npm install react-native-ui-modules

yarn:

yarn add react-native-ui-modules

Components

Input

This component inherits all native TextInput props along with the following:-

Property Type
variant String(enum - "outlined", "standard")
multiline Boolean
inputWidth String
height Number
borderRadius Number
borderColor String
borderBottomColor String
startIcon Boolean
icon Object
endIcon Object
type String (enum - "passwod")
passwordHidden Boolean
togglePassword Function

Icon

This component inherits react-native-vector-icons property:

Property Type
name String
size Number
type String(enum - "materialIcon", "antDesign", "materialCommunityIcon", "entypo", "zocial", "feather", "ionIcons", "octIcons", "evilIcons", "foundation", "fontAwesome", "fontAwesome5", "simpleLineIcons"),
color String

Spinner

Property Type
visible Boolean
size String(enum - "small", "large")
backgroundColor String (android only)
onClose Function
color String

Snackbar

Property Type
visible Boolean
position String(enum - "top", "bottom")
message String
messageTextColor String
actionText String
actionTextColor String
backgroundColor String
handleAction Function

Button

Property Type
title String
color String(enum - "primary", "secondary", "default")
buttonWidth String
variant String(enum - "contained", "outlined")
endIcon Object
titleColor String
titleStyle Object
buttonColor String
buttonStyle Object
onPress Function

Card

Property Type
cardBorder Number
cardWidth String
cardTitle String
cardColor String
headerTextStyle Object
headerStyle Object
onPress Function

Accordion

Property Type
bgColor Number
width String
heading String
secondaryHeading String
expanded Boolean
secondaryStyle Object
headingStyle Object
onChange Function

Picker

Property Type
bgColor Number
width String
pickerItems Array
selectedItem String
onValueChange Function
pickerItemStyle Object
pickerTextStyle Object

Dialog

Property Type
type String(enum - "bottomSheet", "dialog")
visible Boolean
cancelable Function
onClose Function
dialogContainer Object
buttonTitleStyle Object

License

MIT © Ajay

Current Tags

  • 1.0.10                                ...           latest (6 months ago)

11 Versions

  • 1.0.10                                ...           6 months ago
  • 1.0.9                                ...           6 months ago
  • 1.0.8                                ...           6 months ago
  • 1.0.7                                ...           6 months ago
  • 1.0.6                                ...           6 months ago
  • 1.0.5                                ...           6 months ago
  • 1.0.4                                ...           6 months ago
  • 1.0.3                                ...           6 months ago
  • 1.0.2                                ...           6 months ago
  • 1.0.1                                ...           6 months ago
  • 1.0.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |