File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ exports.elementKeyed_ = (component, props) =>
3333
3434exports . global = Emotion . Global ;
3535
36- exports . css = _homogeneousDict => Emotion . css ;
36+ exports . _css = Emotion . css ;
3737
3838exports . important = prop => typeof prop === "string" ? prop + " !important" : prop ;
3939
40- exports . keyframes = _homogeneousDict => Emotion . keyframes ;
40+ exports . _keyframes = Emotion . keyframes ;
Original file line number Diff line number Diff line change @@ -177,11 +177,17 @@ foreign import elementKeyed_ ::
177177
178178foreign import global :: ReactComponent { styles :: Style }
179179
180- foreign import css :: forall r . Homogeneous r StyleProperty => { | r } -> Style
180+ css :: forall r . Homogeneous r StyleProperty => { | r } -> Style
181+ css = _css
182+
183+ foreign import _css :: forall r . { | r } -> Style
181184
182185foreign import important :: StyleProperty -> StyleProperty
183186
184- foreign import keyframes :: forall r . Homogeneous r Style => { | r } -> StyleProperty
187+ keyframes :: forall r . Homogeneous r Style => { | r } -> StyleProperty
188+ keyframes = _keyframes
189+
190+ foreign import _keyframes :: forall r . { | r } -> StyleProperty
185191
186192nested :: Style -> StyleProperty
187193nested = unsafeCoerce
You can’t perform that action at this time.
0 commit comments