1.0.12 • Published 3 years ago
react-custom-duration-picker v1.0.12
React Dynamic Tabs
A React component that offer a variation of time-picker component that let the user select a range of time.
Installation
To install the react-custom-duration-picker package, run the following command:
npm install react-custom-duration-pickerUsage
- Import the
DurationPickercomponent from thereact-custom-duration-pickerpackage:
import DurationPicker from 'react-custom-duration-picker';- Render the
DurationPickercomponent in your React app and set the initial state:
<DurationPicker
duration={ */ time range in seconds /* }
onSubmit={() => { */ your function /* }}
/>View
Contributing
If you would like to contribute to the react-dynamic-tabs package, please fork the repository and submit a pull request with your changes.
License
This project is licensed under the ISC License. See the LICENSE file for details.
Contact
If you have any questions or comments, please email me at gustavobmachado105@gmail.com.