Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ethul committed Oct 11, 2017
1 parent 03d52a5 commit 356ba14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/React.purs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ foreign import getRefs :: forall props state access eff.

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

foreign import readRefImpl :: forall props state access eff.
Expand Down
4 changes: 2 additions & 2 deletions src/React/DOM/Props.purs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ ref :: String -> Props
ref = unsafeMkProps "ref"

-- | You can use `writeRef` to store a reference on `Refs`.
-- | ``` purescrript
-- | ```purescript
-- | div [ withRef (writeRef this "inputElement") ] [...]
-- | ```
withRef
Expand Down Expand Up @@ -676,4 +676,4 @@ d :: String -> Props
d = unsafeMkProps "d"

viewBox :: String -> Props
viewBox = unsafeMkProps "viewBox"
viewBox = unsafeMkProps "viewBox"

0 comments on commit 356ba14

Please sign in to comment.