Component docs
Loading
"use client";
import { DateTimeField } from "@pixxl-tools/components";| Prop | Type | Default | Description |
|---|---|---|---|
defaultValue | string | — | Initial value when uncontrolled. |
onValueChange | (value: string, event: ChangeEvent<HTMLInputElement>) => void | — | Called with the new value (only when it changes). |
value | string | — | Current value (controlled); null where it means "nothing selected". |
defaultValuestring
Initial value when uncontrolled.
onValueChange(value: string, event: ChangeEvent<HTMLInputElement>) => void
Called with the new value (only when it changes).
valuestring
Current value (controlled); null where it means "nothing selected".
<DateTimeField />