@thesis-ui/time-selector
v0.2.1
Published
Thesis UI - TimeSelector component
Downloads
8
Maintainers
Readme
TimeSelector component - Thesis UI
Installation
$ yarn add @thesis-ui/time-selector
$ npm install @thesis-ui/time-selector
Usage
import TimeSelector from '@thesis-ui/time-selector';
const [time, setTime] = useState();
function onChange(newTime) {
setTime(newTime);
}
<TimeSelector
value={time}
onChange={onChange}
/>