0.2.1 • Published 3 years ago

@thesis-ui/time-selector v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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}
/>