A react timepicker clock also compatible with next.js
https://react-timepicker-clock.vercel.app
npm install react-timepicker-clock --save
import TimePickerClock from 'react-timepicker-clock';
function App() {
return (
<TimePickerClock
onSet={(hour,minute,noon,full_val)=>{
// do something
}}
onCancel={()=>{
// do something
}}
/>
)
}
Prop | Type | Example | Required |
---|---|---|---|
onSet | function | onSet={(hour, minute, noon, full_val)=> // do something} | true |
onCancel | function | onCancel={()=> // do something} | true |
Contributions are always welcome!