From f6aace49d022253bb059b1c6d36ddbe19b437aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Mon, 4 Feb 2019 14:23:36 +0100 Subject: [PATCH] fix: augment system specificity --- packages/shared/core/createComponent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/shared/core/createComponent.js b/packages/shared/core/createComponent.js index 35216d69f..874ebc6bb 100644 --- a/packages/shared/core/createComponent.js +++ b/packages/shared/core/createComponent.js @@ -23,7 +23,9 @@ function createComponent(getConfig) { render = ({ Component, ...props }) => , defaultComponent = 'div', system = fullSystem, - applySystem = system => props => system.props(props), + applySystem = system => props => ({ + '&&': system.props(props), + }), InnerComponent: InnerComponentFromConfig, } = getConfig()