You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
Glamorous accepts an array for the css prop, which may contain nested arrays of styles. Those styles may be callback functions in order to access the theme:
Would you accept a PR to adjust this? I'm working to make styles functionally composeable, and it would be great if I could return an array with further callback functions!
The text was updated successfully, but these errors were encountered:
Glamorous accepts an array for the
css
prop, which may contain nested arrays of styles. Those styles may be callback functions in order to access the theme:<Div css={ [myStyle1, myStyle2, ({ theme}) => myStyle3] } />
We currently do not support recursion for the callback's results:
glamorous/src/get-glamor-classname.js
Lines 79 to 86 in d9560fa
Would you accept a PR to adjust this? I'm working to make styles functionally composeable, and it would be great if I could return an array with further callback functions!
The text was updated successfully, but these errors were encountered: