Skip to content

Commit

Permalink
Merge pull request #3 from University-Of-Cincinnati/master
Browse files Browse the repository at this point in the history
Allow passing props to Widget.
  • Loading branch information
Raathigesh committed Apr 26, 2016
2 parents 43d6c7a + d6b0cea commit cd9dcf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/Widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Widgets = ({widgets, widgetTypes, onRemove, layout, columnIndex, rowIndex,
onMove={onMove}
>
{
createElement(widgetTypes[widget.key].type, { })
createElement(widgetTypes[widget.key].type, widgetTypes[widget.key].props)
}
</WidgetFrame>
);
Expand Down

0 comments on commit cd9dcf8

Please sign in to comment.