1.2.2 • Published 9 months ago

react-time-picker-field v1.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

React time picker field

A simple time picker for React. It's based on vue-timepicker, but it's not directly a port. It currently is very basic, and only supports these props:

PropTypeDefaultDescription
valuestring'00:00'The value of the time picker
onChangefunction() => {}The function to call when the value changes

Usage

import React from 'react';
import TimePicker from 'react-time-picker-field';

const App = () => {
	const [time, setTime] = React.useState('12:00');

	return (
		<TimePicker
			value={time}
			onChange={setTime}
		/>
	);
};

I am, of course, open to suggestions and pull requests, so feel free to contribute!

1.2.2

9 months ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago