Skip to content

Commit

Permalink
added custom component back
Browse files Browse the repository at this point in the history
  • Loading branch information
iKrushYou authored Sep 10, 2019
1 parent 239f899 commit 514c94d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/MuiDataform.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ export default function MuiDataform({ values, onChange, fields, spacing }) {
case 'switch':
FieldComponent = MDSwitch;
break;
case 'custom':
FieldComponent = field.Component;
break;
}
}

Expand Down

0 comments on commit 514c94d

Please sign in to comment.