1.2.3 • Published 7 years ago
react-native-ui-library v1.2.3
react-native-ui-library
A simple styled UI library for React Native npm link: https://www.npmjs.com/package/react-native-ui-library github link: https://github.com/joseph-wood/react-native-ui-library
Getting Started
Installation
npm i --save-dev react-native-ui-library
Import
import { components } from 'react-native-ui-library'
Enjoy!
Form Components
A list of Form UI components and their props that are available:
TextInputBasic Props:
placeholder
onChange
value
autoCapitalize
autoCorrect
autoFocus
blurOnSubmit
defaultValue
editable
keyboardType
maxLength
placeholderTextColor
returnKeyType
secureTextEntry
selectTextOnFocus
selectionColor
keyboardAppearance
clear
Buttons
A list of Buttons and their props that are available:
Button Types Available
Button Info: { ButtonInfo } Button Success: { ButtonSuccess } Button Warning: { ButtonWarning } Button Danger: { ButtonDanger }
Button Props:
onPress
children
Buttons
A list of Cards and their props that are available:
Button Types Available
Card: { Card } Card with Header: Available in 1.3.0 Card with Footer: Available in 1.3.0 Card with Header and Footer: Available in 1.3.0
Card Props:
children