0.0.10 • Published 1 year ago

react-native-component-button v0.0.10

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

react-native-component - Button

Getting Started

npm install react-native-component-button

Key Features

Pressable Native Button types:

  • Primary Button
  • Secondary Button
  • Outline Button
  • Disable Button
  • Arrow Button
  • Left Icon Button
  • Override Styule Button
  • Circle Button
  • Circle Button

Button props

AttributeTypeDefault
labelstring
buttonColorstring
textColorstring
circleboolfalse
typestringprimary|secondary|outline|circle
disabledboolfalse
arrowboolfalse
fullboolfalse
leftIconFontAwesome.glyphMapfalse
styleStylePropsnull
onPressfunctionnull

Button basic example for React Native App

import {Button} from 'react-native-component-button';

<Button 
    label={"Sign In"} 
    arrow={true}
    style={{marginRight:20}}
    onPress={() => navigation.navigate('goThisPage')}/>

<Button 
    leftIcon={"font-awesome"}
    label={"Create Account"} 
    onPress={() => navigation.navigate('goThisPage')}/>
</View>

Author

Josef Cheung

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago