Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5 from hugofergo/master
Browse files Browse the repository at this point in the history
added icon and  hint in editComponent Input
  • Loading branch information
ivanflorentin authored Aug 9, 2016
2 parents 6d428fe + f5a7327 commit 7f1f816
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ export default function (compDef) {
}
const field = <div key={fieldName}>
<Input value={next[fieldName] ||''}
type={componentField.uiType} label={componentField.label} name='name' icon='assignment'
type={componentField.uiType} label={componentField.label} name='name' icon={componentField.icon}
hint={componentField.hint}
onChange={(e) => {
next[fieldName] = e
save()
Expand Down

0 comments on commit 7f1f816

Please sign in to comment.