0.4.4 • Published 2 years ago

react-timepicker-clock v0.4.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

react-timepicker-clock

A react timepicker clock also compatible with next.js

Demo

https://react-timepicker-clock.vercel.app

Installation

  npm install react-timepicker-clock --save

How to use?

import TimePickerClock from 'react-timepicker-clock';

function App() {
  return (
      <TimePickerClock
            onSet={(hour,minute,noon,full_val)=>{
                // do something
            }}
            onCancel={()=>{
                // do something
            }}
       />
  )
}

Props

PropTypeExampleRequired
onSetfunctiononSet={(hour, minute, noon, full_val)=> // do something}true
onCancelfunctiononCancel={()=> // do something}true

Acknowledgements

Contributing

Contributions are always welcome!

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago