Skip to content

Commit 356ba14

Browse files
committed
Fix typo
1 parent 03d52a5 commit 356ba14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/React.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ foreign import getRefs :: forall props state access eff.
309309

310310
-- | Ref type. You can store `Ref` types on `Refs` object (which in
311311
-- | corresponds to `this.refs`). Use `ReactDOM.refToNode` if you want to
312-
-- store a `DOM.Node.Types.Node`
312+
-- | store a `DOM.Node.Types.Node`
313313
foreign import data Ref :: Type
314314

315315
foreign import readRefImpl :: forall props state access eff.

src/React/DOM/Props.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ ref :: String -> Props
305305
ref = unsafeMkProps "ref"
306306

307307
-- | You can use `writeRef` to store a reference on `Refs`.
308-
-- | ``` purescrript
308+
-- | ```purescript
309309
-- | div [ withRef (writeRef this "inputElement") ] [...]
310310
-- | ```
311311
withRef
@@ -676,4 +676,4 @@ d :: String -> Props
676676
d = unsafeMkProps "d"
677677

678678
viewBox :: String -> Props
679-
viewBox = unsafeMkProps "viewBox"
679+
viewBox = unsafeMkProps "viewBox"

0 commit comments

Comments
 (0)