Closed jspeis closed 6 years ago
Fixes the way defaultProps for children of Viz class get set, fixing #21
Instead of overwriting the defaultProp, this uses Object.assign to "inherit" the parent Viz class's defaultProps.
Object.assign
defaultProps
The spread operator ... doesn't seem to work with the current buble configuration for this package?
...
Fixes the way defaultProps for children of Viz class get set, fixing #21
Description
Instead of overwriting the defaultProp, this uses
Object.assign
to "inherit" the parent Viz class'sdefaultProps
.Types of changes
Notes
The spread operator
...
doesn't seem to work with the current buble configuration for this package?