Skip to content

Commit 2a8ece8

Browse files
authored
docs: add bundlephobia shield
1 parent a1ccca9 commit 2a8ece8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# react-intersection-observer
22

33
[![Version Badge][npm-version-svg]][package-url]
4+
[![GZipped size][npm-minzip-svg]][bundlephobia-url]
45
[![Build Status][travis-svg]][travis-url]
56
[![Coverage Statu][coveralls-svg]][coveralls-url]
67
[![dependency status][deps-svg]][deps-url]
@@ -157,6 +158,8 @@ function supportsIntersectionObserver() {
157158

158159
[package-url]: https://npmjs.org/package/react-intersection-observer
159160
[npm-version-svg]: https://img.shields.io/npm/v/react-intersection-observer.svg
161+
[npm-minzip-svg]: https://img.shields.io/bundlephobia/minzip/react.svg
162+
[bundlephobia-url]: https://bundlephobia.com/result?p=react-intersection-observer
160163
[travis-svg]: https://travis-ci.org/thebuilder/react-intersection-observer.svg
161164
[travis-url]: https://travis-ci.org/thebuilder/react-intersection-observer
162165
[coveralls-svg]: https://coveralls.io/repos/github/thebuilder/react-intersection-observer/badge.svg?branch=master

0 commit comments

Comments
 (0)