Skip to content

Commit e22ecf1

Browse files
authored
fix: include children prop in ruleProps (#918)
This allows style rules to be conditionally applied based on (for example) the presence or absence of any children passed to the component.
1 parent f4d3966 commit e22ecf1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/fela-bindings/src/createComponentFactory.js

+1
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default function createComponentFactory(
7777
theme: _felaTheme,
7878
as,
7979
id,
80+
children,
8081
}
8182

8283
// if the component renders into another Fela component

0 commit comments

Comments
 (0)