Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
abidjamil authored Apr 28, 2020
1 parent cdaca3f commit 786be7e
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ import FloatingLabelInput from 'aj-floating-label-input'
### 2) add the Input Field as following

```sh
<FloatingLabel`
`onChangeText={value => setUsername(value)}`
`focusBorderColor={ThemeColors.ThemeColorPrimary}`
`focusLabelColor={ThemeColors.ThemeColorPrimary}`
`blurBorderColor="#AAA"`
`blurLabelColor="#AAA"`
`floatingLabel="Username"`
`inputStyle={{}}`
`labelStyle={{}}`
`floatedStyle={{ fontSize: 10, top: 3, }}`
`unfloatedStyle={{ fontSize: 11, top: 12, }}`
`containerStyle={{ borderRadius: 50, borderWidth: 0.5 }}/>`
<FloatingLabel
onChangeText={value => setUsername(value)}
focusBorderColor={ThemeColors.ThemeColorPrimary}
focusLabelColor={ThemeColors.ThemeColorPrimary}
blurBorderColor="#AAA"
blurLabelColor="#AAA"
floatingLabel="Username"
inputStyle={{}}
labelStyle={{}}
floatedStyle={{ fontSize: 10, top: 3, }}
unfloatedStyle={{ fontSize: 11, top: 12, }}
containerStyle={{ borderRadius: 50, borderWidth: 0.5 }}/>
```

## Demo
Expand Down

0 comments on commit 786be7e

Please sign in to comment.