getDefaultProps method
Invoked once and cached when registerComponent
is called. Values in the mapping will be set on props
if that prop is not specified by the parent component.
This method is invoked before any instances are created and thus cannot rely on props
. In addition, be aware
that any complex objects returned by getDefaultProps
will be shared across instances, not copied.
Implementation
Map getDefaultProps() => {};