Skip to content

Commit d71504a

Browse files
author
Tom Ekander
committed
docs: add CodeSandbox example to README
1 parent 80b2a65 commit d71504a

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
[![build status](https://img.shields.io/travis/lessp/react-is-visible/master.svg?style=flat-square)](https://travis-ci.org/lessp/react-is-visible)
44
[![dependencies Status](https://david-dm.org/lessp/react-is-visible/status.svg?style=flat-square)](https://david-dm.org/lessp/react-is-visible)
55

6-
A simple library that lets you know whether a Component is visible or not.
7-
8-
**Live examples:** [https://lessp.github.io/react-is-visible/](https://lessp.github.io/react-is-visible/index.html)
6+
A small library that lets you know whether a component is visible on screen or not.
97

108
Uses the [IntersectionObserver API](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserver).
119

12-
# Table of contents
10+
### Live Examples
11+
12+
**Storybook:** [https://lessp.github.io/react-is-visible/](https://lessp.github.io/react-is-visible/index.html)
13+
14+
**Code Sandbox:** [https://13wozo64wq.codesandbox.io/](https://13wozo64wq.codesandbox.io/)
15+
16+
[![Edit 13wozo64wq](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/13wozo64wq)
17+
18+
# Table of Contents
1319
1. [Polyfill](#polyfill)
1420
2. [Installation](#installation)
1521
3. [Usage](#usage)

0 commit comments

Comments
 (0)