From 9fb598885ab70814c2d5eeff93e7b16b7d602fec Mon Sep 17 00:00:00 2001 From: amir alipour Date: Thu, 25 May 2023 13:47:25 +0330 Subject: [PATCH] v1.1.5 : change some functionalities --- README.md | 50 +++++++++++++++++++++++++++--- package.json | 2 +- src/index.tsx | 85 +++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 111 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 644637b..a114ad3 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,45 @@ See the example directory for a basic working example of using this project. To or
[![Edit blog](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/blissful-frost-yl38y) +
+ +```jsx + + {(player) => { + + return ( + <> + player.onScrub(e.target.value)} + onMouseUp={(e) => player.onScrubEnd(e)} + onKeyUp={(e) => player.onScrubEnd(e)} + /> + + + + + + + player.setVolume(e.target.value)} + /> +