Skip to content

Commit

Permalink
Added ScrollViewProps
Browse files Browse the repository at this point in the history
  • Loading branch information
bietkul committed Sep 22, 2017
1 parent 3d60069 commit b34b57b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name":"react-native-form-builder",
"version":"1.0.9",
"version":"1.0.10",
"description":"Generate Awesome Forms In an easy way",
"main":"src/index.js",
"scripts":{
Expand Down
2 changes: 2 additions & 0 deletions src/formBuilder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export default class FormBuilder extends Component {
static propTypes = {
fields: React.PropTypes.array,
theme: React.PropTypes.object,
scrollViewProps: React.PropTypes.object,
customComponents: React.PropTypes.object,
formData: React.PropTypes.object,
autoValidation: React.PropTypes.bool,
Expand Down Expand Up @@ -291,6 +292,7 @@ export default class FormBuilder extends Component {
<KeyboardAwareScrollView
keyboardShouldPersistTaps="always"
extraScrollHeight={20}
{...this.props.scrollViewProps}
>
<View>
{this.generateFields() || <View />}
Expand Down

0 comments on commit b34b57b

Please sign in to comment.