7.0.2 • Published 3 years ago

@imagentleman/reactjs-time-picker v7.0.2

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

reactjs-time-picker

Demo

https://imagentleman.github.io/reactjs-time-picker/

Package

https://www.npmjs.com/package/@imagentleman/reactjs-time-picker

Usage

import React, {useState} from 'react';
import TimePicker from "@imagentleman/reactjs-time-picker";

ReactDOM.render(
  <TimePicker
    className={"my-time-picker-css"}
    inputProps={{ id: "timepicker" }}
    onChange={(value) => console.log(value)}
    closeOnClickOutside
  />,
  document.getElementById("root")
);
PropDescription
classNameCSS class that overrides the main container styles
inputPropsObject with properties to be added to the input
onChangeCallback for the change event
closeOnClickOutsideOptional attribute to close the picker when clicking outside of it

Installation

npm i @imagentleman/reactjs-time-picker

Size

1kB minified + gzipped

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

6.0.0

3 years ago

5.0.0

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago