Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix: augment system specificity
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Feb 4, 2019
1 parent 0151c02 commit f6aace4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/shared/core/createComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ function createComponent(getConfig) {
render = ({ Component, ...props }) => <Component {...props} />,
defaultComponent = 'div',
system = fullSystem,
applySystem = system => props => system.props(props),
applySystem = system => props => ({
'&&': system.props(props),
}),
InnerComponent: InnerComponentFromConfig,
} = getConfig()

Expand Down

0 comments on commit f6aace4

Please sign in to comment.