TzTimeInput component uses mui Time Picker with Dayjs timezone.
import { TzTimeInput } from '@ra-libs/react';
<TzTimeInput source="endAt" timezoneSource="endAtTimezone" label={'label'} useLabel />;
Prop | Required | Type | Default | Description |
---|---|---|---|---|
useLabel | false | boolean | false | whether to use react-admin Labeled component or not. |
source | true | string | the field source to retrieve its value. | |
timezoneSource | true | string | the timezone field source to retrieve its value. |