Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 738 Bytes

timezonefield.md

File metadata and controls

19 lines (13 loc) · 738 Bytes

TimezoneField

TimezoneField component that map IANA timezone to text with Labeled component.

Usage

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

<TimezoneField source="startAtTimezone" label={'Timezone'} />;

Props

Prop Required Type Default Description
useLabel false boolean false whether to use react-admin Labeled component or not.
label false string the label to display.
source true string the field source to retrieve its value.