diff --git a/src/React/Basic/Emotion.purs b/src/React/Basic/Emotion.purs index 15f8dde..1ba7484 100644 --- a/src/React/Basic/Emotion.purs +++ b/src/React/Basic/Emotion.purs @@ -199,7 +199,7 @@ int int = unsafeCoerce num - :: Warn (Text "`int` is deprecated and may be removed in future versions. Prefer `str` or one of the unit combinators like `px` or `em` instead.") + :: Warn (Text "`num` is deprecated and may be removed in future versions. Prefer `str` or one of the unit combinators like `px` or `em` instead.") => Number -> StyleProperty num = unsafeCoerce @@ -533,4 +533,4 @@ toUnitWith4 :: forall a. (a -> String) -> String -> a -> a -> a -> a -> StylePro toUnitWith4 f s a b c d = toUnitWithN f s [a, b, c, d] toUnitWithN :: forall a. (a -> String) -> String -> Array a -> StyleProperty -toUnitWithN f s as = str (String.joinWith " " (map (\a -> f a <> s) as)) \ No newline at end of file +toUnitWithN f s as = str (String.joinWith " " (map (\a -> f a <> s) as))