11 lines
No EOL
588 B
TypeScript
11 lines
No EOL
588 B
TypeScript
export type PickersTimezone = 'default' | 'system' | 'UTC' | string;
|
|
export interface TimezoneProps {
|
|
/**
|
|
* Choose which timezone to use for the value.
|
|
* Example: "default", "system", "UTC", "America/New_York".
|
|
* If you pass values from other timezones to some props, they will be converted to this timezone before being used.
|
|
* @see See the {@link https://mui.com/x/react-date-pickers/timezone/ timezones documentation} for more details.
|
|
* @default The timezone of the `value` or `defaultValue` prop is defined, 'default' otherwise.
|
|
*/
|
|
timezone?: PickersTimezone;
|
|
} |