Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit 03d24a7

Browse files
committed
updated readme
1 parent 6f510dc commit 03d24a7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ import SocialIcon from 'HSSocialIcon'
8989

9090
## Forms
9191

92-
![TextInput](http://i.imgur.com/9idGiXr.png)
92+
![Forms](http://i.imgur.com/9idGiXr.png)
9393

9494
```
9595
import FormLabel from 'HSFormLabel'
@@ -99,6 +99,7 @@ import FormInput from 'HSFormInput'
9999
<FormInput onChangeText={someFunction}/>
100100
101101
```
102+
### FormInput
102103

103104
##### This component inherits [all native TextInput props that come with a standard React Native TextInput element](https://facebook.github.io/react-native/docs/textinput.html), along with the following:
104105

@@ -107,6 +108,13 @@ import FormInput from 'HSFormInput'
107108
| containerStyle | none | object | TextInput container styling |
108109
| inputStyle | none | object | TextInput styling |
109110

111+
### FormLabel
112+
113+
| prop | default | type | description |
114+
| ---- | ---- | ----| ---- |
115+
| containerStyle | none | object | additional label container style |
116+
| labelStyle | none | object | additional label styling |
117+
110118
## Card
111119

112120
![Card Component](http://i.imgur.com/eRaY7Ok.png)

src/components/form/FormLabel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Text from 'HSText'
1010

1111
let styles = {}
1212

13-
const FormLabel = ({containerStyle, inputStyle, onChangeText, children}) => (
13+
const FormLabel = ({containerStyle, inputStyle, children}) => (
1414
<View style={[styles.container, containerStyle && containerStyle]}>
1515
<Text style={styles.label}>{children.toUpperCase()}</Text>
1616
</View>

0 commit comments

Comments
 (0)