1.0.10 • Published 4 years ago

react-native-ui-modules v1.0.10

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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:-

PropertyType
variantString(enum - "outlined", "standard")
multilineBoolean
inputWidthString
heightNumber
borderRadiusNumber
borderColorString
borderBottomColorString
startIconBoolean
iconObject
endIconObject
typeString (enum - "passwod")
passwordHiddenBoolean
togglePasswordFunction

Icon

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

PropertyType
nameString
sizeNumber
typeString(enum - "materialIcon", "antDesign", "materialCommunityIcon", "entypo", "zocial", "feather", "ionIcons", "octIcons", "evilIcons", "foundation", "fontAwesome", "fontAwesome5", "simpleLineIcons"),
colorString

Spinner

PropertyType
visibleBoolean
sizeString(enum - "small", "large")
backgroundColorString (android only)
onCloseFunction
colorString

Snackbar

PropertyType
visibleBoolean
positionString(enum - "top", "bottom")
messageString
messageTextColorString
actionTextString
actionTextColorString
backgroundColorString
handleActionFunction

Button

PropertyType
titleString
colorString(enum - "primary", "secondary", "default")
buttonWidthString
variantString(enum - "contained", "outlined")
endIconObject
titleColorString
titleStyleObject
buttonColorString
buttonStyleObject
onPressFunction

Card

PropertyType
cardBorderNumber
cardWidthString
cardTitleString
cardColorString
headerTextStyleObject
headerStyleObject
onPressFunction

Accordion

PropertyType
bgColorNumber
widthString
headingString
secondaryHeadingString
expandedBoolean
secondaryStyleObject
headingStyleObject
onChangeFunction

Picker

PropertyType
bgColorNumber
widthString
pickerItemsArray
selectedItemString
onValueChangeFunction
pickerItemStyleObject
pickerTextStyleObject

Dialog

PropertyType
typeString(enum - "bottomSheet", "dialog")
visibleBoolean
cancelableFunction
onCloseFunction
dialogContainerObject
buttonTitleStyleObject

License

MIT © Ajay

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago