At the moment there is a little theme helper that tries to get a theme variable like primaryColor via props.theme.primaryColor, and falls back on a default color.
As a result of this, a project using re-cy-cle can't easily access props.theme.primaryColor if it is using the default color provided by re-cy-cle.
To fix this we need to extend the theme prop with Object.assign.
At the moment there is a little theme helper that tries to get a theme variable like
primaryColor
viaprops.theme.primaryColor
, and falls back on a default color.As a result of this, a project using re-cy-cle can't easily access
props.theme.primaryColor
if it is using the default color provided by re-cy-cle.To fix this we need to extend the
theme
prop withObject.assign
.