Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DeloitteDigitalAPAC/schematick-forms
Browse files Browse the repository at this point in the history
  • Loading branch information
jennasalau committed Apr 19, 2019
2 parents 07ab1f7 + 6e0545e commit 2a1fa57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ You will also need to install the following **peer dependecies** if you havnt al
The code below will render a simple login form:

```js
import FormBuilder from 'json-form-builder-react/lib';
import FormBuilder from 'schematik-forms/lib';

// BYO components
import {MyTextComponent, MyPasswordComponent} from '../my-components';
Expand All @@ -126,7 +126,7 @@ const mySchema = {
}
}
]
}
};

<FormBuilder
config={mySchema}
Expand Down Expand Up @@ -241,7 +241,7 @@ const components = {
// Use props to build your component
}
}
}
};

<FormBuilder
registeredComponents={components}
Expand Down Expand Up @@ -295,7 +295,7 @@ const actions = {
// Set a value in the form
setFieldValue('name.first', 'John');
},
}
};

<FormBuilder
registeredActions={actions}
Expand Down

0 comments on commit 2a1fa57

Please sign in to comment.