diff --git a/README.md b/README.md index cb8c581..172a8fc 100644 --- a/README.md +++ b/README.md @@ -60,14 +60,12 @@ import { Tooltip } from 'redux-tooltip'; class App extends React.Component { render() { - return ( -
- - - Hello Tooltip! - -
- ); + return
+ + + Hello Tooltip! + +
; } } ``` @@ -79,11 +77,9 @@ import { Origin } from 'redux-tooltip'; class Page extends React.Component { render() { - return ( -

- Please hover here. -

- ); + return

+ Please hover here. +

; } } ``` @@ -156,13 +152,11 @@ For advanced usage, you can override the default handlers; `onMouseEnter` and `o // Invalid SVG... // Origin component wraps children with tag in default. function Shape() { - return ( - - - - - - ); + return + + + + ; } // Perfect! @@ -170,13 +164,11 @@ function Shape() { const SVGOrigin = Origin.wrapBy('g'); function Shape() { - return ( - - - - - - ); + return + + + + ; } ``` @@ -243,11 +235,6 @@ If you prefer 'single-run', which means that the browser is closed after testing npm run test:feature:ci ``` -### TODO - -+ Introduce ESLint -+ API documentation using ESDoc - ## Changelog See the [Releases](https://github.com/kuy/redux-tooltip/releases) page on GitHub.