Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 774 Bytes

tztimeinput.md

File metadata and controls

19 lines (13 loc) · 774 Bytes

TzTimeInput

TzTimeInput component uses mui Time Picker with Dayjs timezone.

Usage

import { TzTimeInput } from '@ra-libs/react';

<TzTimeInput source="endAt" timezoneSource="endAtTimezone" label={'label'} useLabel />;

Props

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.