Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
n4kz committed Oct 21, 2019
1 parent e6bf08f commit af40b7b
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Example extends Component {
disabled | Text field availability | Boolean | false
editable | Text field text can be edited | Boolean | true
multiline | Text filed multiline input | Boolean | false
contentInset | Layout configuration object | Object | -
contentInset | Layout configuration object | Object | [{...}](#content-inset)
inputContainerStyle | Style for input container view | Object | -
containerStyle | Style for container view | Object | -
labelTextStyle | Style for label inner Text component | Object | -
Expand All @@ -114,8 +114,17 @@ class Example extends Component {
onFocus | Focus callback | Function | -
onBlur | Blur callback | Function | -

Other [TextInput][rn-textinput] properties will also work. Possible keys for
`contentInset` object are `top`, `label` and `input`.
Other [TextInput][rn-textinput] properties will also work.

### Content Inset

name | description | Normal | Filled
:----- |:--------------------------------- | ------:| ------:
top | Inset on the top side | 16 | 8
left | Inset on the left side | 0 | 12
right | Inset on the right side | 0 | 12
label | Space between label and TextInput | 4 | 4
input | Space between line and TextInput | 8 | 8

## Methods

Expand Down

0 comments on commit af40b7b

Please sign in to comment.