Skip to content

Commit 454e142

Browse files
Fix deprecation docs on 'int' and 'num' (#4)
1 parent 41a1bb2 commit 454e142

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/React/Basic/Emotion.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ str :: String -> StyleProperty
132132
str = unsafeCoerce
133133

134134
int
135-
:: Warn (Text "`int` is deprecated and may be removed in future versions. Prefer one of the unit combinators like `px` or `em` instead.")
135+
:: 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.")
136136
=> Int
137137
-> StyleProperty
138138
int = unsafeCoerce
139139

140140
num
141-
:: Warn (Text "`int` is deprecated and may be removed in future versions. Prefer one of the unit combinators like `px` or `em` instead.")
141+
:: 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.")
142142
=> Number
143143
-> StyleProperty
144144
num = unsafeCoerce

0 commit comments

Comments
 (0)