From 1a8fc3b24fe50e960a4db577c94469594cf66e0e Mon Sep 17 00:00:00 2001 From: eric thul Date: Wed, 11 Oct 2017 19:13:58 -0400 Subject: [PATCH] Remove generated-docs --- README.md | 2 +- generated-docs/ReactDOM.md | 44 -------------------------------------- 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 generated-docs/ReactDOM.md diff --git a/README.md b/README.md index a075ab3..525838b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Low-level React DOM bindings for PureScript -- [Module Documentation](generated-docs/) +- [Module Documentation](https://pursuit.purescript.org/packages/purescript-react-dom/) ## Installation diff --git a/generated-docs/ReactDOM.md b/generated-docs/ReactDOM.md deleted file mode 100644 index 12b3c9d..0000000 --- a/generated-docs/ReactDOM.md +++ /dev/null @@ -1,44 +0,0 @@ -## Module ReactDOM - -#### `render` - -``` purescript -render :: forall eff. ReactElement -> Element -> Eff (dom :: DOM | eff) (Maybe ReactComponent) -``` - -Render a React element in a document element. Returns Nothing for stateless components. - -#### `unmountComponentAtNode` - -``` purescript -unmountComponentAtNode :: forall eff. Element -> Eff (dom :: DOM | eff) Boolean -``` - -Removes a mounted React element in a document element. -Returns true if it was unmounted, false otherwise. - -#### `findDOMNode` - -``` purescript -findDOMNode :: forall eff. ReactComponent -> Eff (dom :: DOM | eff) Element -``` - -Finds the DOM node rendered by the component. - -#### `renderToString` - -``` purescript -renderToString :: ReactElement -> String -``` - -Render a React element as a string. - -#### `renderToStaticMarkup` - -``` purescript -renderToStaticMarkup :: ReactElement -> String -``` - -Render a React element as static markup string without extra DOM attributes. - -