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) =>
33
33
34
34
exports . global = Emotion . Global ;
35
35
36
- exports . css = _homogeneousDict => Emotion . css ;
36
+ exports . _css = Emotion . css ;
37
37
38
38
exports . important = prop => typeof prop === "string" ? prop + " !important" : prop ;
39
39
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_ ::
177
177
178
178
foreign import global :: ReactComponent { styles :: Style }
179
179
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
181
184
182
185
foreign import important :: StyleProperty -> StyleProperty
183
186
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
185
191
186
192
nested :: Style -> StyleProperty
187
193
nested = unsafeCoerce
You can’t perform that action at this time.
0 commit comments