Skip to content

Customizable react native animated trimmer, can be used for video or audio trimming. This trimmer library offers you amazing UI experience for getting accurate trim values.

License

Notifications You must be signed in to change notification settings

panorbit/RN-Trimmer

Repository files navigation

_For Development _
Clone the project run yarn install in root folder then cd into example folder again yarn install. Then from example folder yarn start and yarn android


This is will be after publishing to npm

RN-Trimmer

React Native Trimmer Library For Trim Values And Smooth Animation Experience


How To Get Started ?

To Use This Library You Need To Setup react-natvie-reanimated and react-native-gesture-handler


Installation

npm install --save RN-Trimmer
# OR
yarn add RN-Trimmer

Examples

import { RNTrimmer } from 'RN-Trimmer'

const App = () => {
  return (
    <RNTrimmer
      duration={duration}
      onEndRelease={(time) => setStartTime(time)}
      onStartRelease={(time) => setEndTime(time)}
    />
  )
}
Props Type Default Note Required
duration Number 0 Yes
onEndRelease Function Yes
onStartRelease Function Yes
bothSwipe Boolean true No

Development

yarn

yarn run build

yarn test

About

Customizable react native animated trimmer, can be used for video or audio trimming. This trimmer library offers you amazing UI experience for getting accurate trim values.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •