es-grid-template
Version:
es-grid-template
55 lines (54 loc) • 1.4 kB
TypeScript
import * as React from 'react';
import type { ValidateMessages } from 'rc-field-form/lib/interface';
import type { TransferLocale as TransferLocaleForEmpty } from 'rc-master-ui/es/empty';
export declare const ANT_MARK = "internalMark";
export interface Locale {
locale: string;
Pagination?: any;
DatePicker?: any;
TimePicker?: Record<string, any>;
Calendar?: Record<string, any>;
Table?: any;
Modal?: any;
Tour?: any;
Popconfirm?: any;
Transfer?: any;
Select?: Record<string, any>;
Upload?: any;
Empty?: TransferLocaleForEmpty;
global?: Record<string, any>;
Icon?: Record<string, any>;
Text?: {
edit?: any;
copy?: any;
copied?: any;
expand?: any;
collapse?: any;
};
Form?: {
optional?: string;
defaultValidateMessages: ValidateMessages;
};
Image?: {
preview: string;
};
QRCode?: {
expired?: string;
refresh?: string;
scanned?: string;
};
ColorPicker?: {
presetEmpty: string;
transparent: string;
singleColor: string;
gradientColor: string;
};
}
export interface LocaleProviderProps {
locale: Locale;
children?: React.ReactNode;
/** @internal */
_ANT_MARK__?: string;
}
declare const LocaleProvider: React.FC<LocaleProviderProps>;
export default LocaleProvider;