diff --git a/README.md b/README.md index cb271a4..11a7a0d 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ [![Greenkeeper badge](https://badges.greenkeeper.io/sandstreamdev/react-swipeable-list.svg)](https://greenkeeper.io/) [![codecov](https://codecov.io/gh/sandstreamdev/react-swipeable-list/branch/master/graph/badge.svg)](https://codecov.io/gh/sandstreamdev/react-swipeable-list) ![GitHub Release Date](https://img.shields.io/github/release-date/sandstreamdev/react-swipeable-list) -[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors) +[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors) ## React Swipeable List component @@ -59,8 +59,6 @@ import '@sandstreamdev/react-swipeable-list/dist/styles.css'; ``` -NOTE: `SwipeableListItem` can be used without `SwipeableList` but swipe blocking on scroll needs to be handled. - ## SwipeableList Props ### scrollStartThreshold diff --git a/examples/src/App.js b/examples/src/App.js index 9dcf204..baddf30 100644 --- a/examples/src/App.js +++ b/examples/src/App.js @@ -188,7 +188,6 @@ function App() { -
THE END
); } diff --git a/examples/src/app.module.css b/examples/src/app.module.css index e5e2b8e..4d5a5cf 100644 --- a/examples/src/app.module.css +++ b/examples/src/app.module.css @@ -12,6 +12,42 @@ h5 { margin: 0; } +body { + /* stylelint-disable */ + font-family: + system, + -apple-system, + '.SFNSText-Regular', + 'San Francisco', + 'Roboto', + 'Segoe UI', + 'Helvetica Neue', + 'Lucida Grande', + sans-serif; + /* stylelint-enable */ +} + +footer { + display: flex; + flex-direction: column; + align-items: center; + padding: 56px 0; +} + +a { + text-decoration: none; +} + +footer a, +footer a:visited { + color: #0275d8; +} + +footer a:hover { + color: #0275d8; + text-decoration: underline; +} + .testApp { display: flex; flex-direction: column; diff --git a/examples/src/index.js b/examples/src/index.js index f07869a..01a4ad0 100644 --- a/examples/src/index.js +++ b/examples/src/index.js @@ -11,6 +11,26 @@ ReactDOM.render( + , document.getElementById('root') );