Skip to content

Commit

Permalink
Merge pull request #355 from chintan9/fix/forward-ref
Browse files Browse the repository at this point in the history
Replace memo with forwardRef
  • Loading branch information
chintan9 authored Oct 5, 2020
2 parents 56a73ad + 7bff9f6 commit 909f719
Show file tree
Hide file tree
Showing 5 changed files with 494 additions and 18 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# plyr-react

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)

<!-- ALL-CONTRIBUTORS-BADGE:END -->

![plyr-react](https://socialify.git.ci/chintan9/plyr-react/png?description=1&forks=1&issues=1&pulls=1&theme=Dark)
Expand All @@ -11,17 +14,17 @@ This plugin requires minimum **Node.js with npm or yarn**.

```sh
# with npm
npm i plyr-react plyr
npm i plyr-react

# with yarn
yarn add plyr-react plyr
yarn add plyr-react
```

## Usage

```tsx
import Plyr from 'plyr-react'
import 'plyr/dist/plyr.css'
import 'plyr-react/dist/plyr.css'

export default function App() {
return (
Expand Down Expand Up @@ -57,14 +60,13 @@ to see example and you can play with
[![BCH compliance](https://bettercodehub.com/edge/badge/chintan9/plyr-react?branch=master)](https://bettercodehub.com/)
[![Size](https://badgen.net/bundlephobia/minzip/plyr-react)](https://badgen.net/#bundlephobia)


## Support

If you like the project and want to support my work, give star or fork it.

## Thanks
## Thanks

- [@iwatakeshi](https://github.com/iwatakeshi) For provide help for convert to typescript.
- [@iwatakeshi](https://github.com/iwatakeshi) For provide help for convert to typescript.

## Contributors ✨

Expand All @@ -82,6 +84,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
Loading

0 comments on commit 909f719

Please sign in to comment.