Time Picker
This is helper text
Overrides helper text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import React from "react"
import { TimePicker } from "@creation-ui/react"
export const Example = () => (
<TimePicker
variant={"outlined"}
size={"md"}
error={""}
clearable
label={"TimePicker"}
placeholder={"Placeholder"}
helperText={"This is helper text"}
/>
)
Component API
Prop | Default | Description |
value | — | Date | null | undefined Time selected in input |
onChange | — | (date: Date | null | undefined) => void Callback function when time is selected |