Skip to content

Latest commit

 

History

History
executable file
·
23 lines (13 loc) · 536 Bytes

time-picker-usage.md

File metadata and controls

executable file
·
23 lines (13 loc) · 536 Bytes

Home / TimePicker

TimePicker

This widget allows you to select a time.

TimePicker is intrinsically a div element and accepts all of its attributes.

Usage

import { TimePicker } from "react-simple-widgets/dist/time-picker";

<TimePicker value onChange />;
  • value: string

    The selected date of the widget in the format HH:mm. (E.g. 16:35)

  • onChange: (time: string) => void

    This function is called with the selected time when the time changes. The time is in the format HH:mm.