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

Commit f6aace4

Browse files
committed
fix: augment system specificity
1 parent 0151c02 commit f6aace4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/shared/core/createComponent.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ function createComponent(getConfig) {
2323
render = ({ Component, ...props }) => <Component {...props} />,
2424
defaultComponent = 'div',
2525
system = fullSystem,
26-
applySystem = system => props => system.props(props),
26+
applySystem = system => props => ({
27+
'&&': system.props(props),
28+
}),
2729
InnerComponent: InnerComponentFromConfig,
2830
} = getConfig()
2931

0 commit comments

Comments
 (0)