diff --git a/src/React.purs b/src/React.purs index 6f64161..9a4f927 100644 --- a/src/React.purs +++ b/src/React.purs @@ -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. diff --git a/src/React/DOM/Props.purs b/src/React/DOM/Props.purs index ed2659f..d67e968 100644 --- a/src/React/DOM/Props.purs +++ b/src/React/DOM/Props.purs @@ -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 @@ -676,4 +676,4 @@ d :: String -> Props d = unsafeMkProps "d" viewBox :: String -> Props -viewBox = unsafeMkProps "viewBox" \ No newline at end of file +viewBox = unsafeMkProps "viewBox"