UNPKG

linkmore-design

Version:

🌈 πŸš€lmη»„δ»ΆεΊ“γ€‚πŸš€

64 lines (63 loc) β€’ 2.04 kB
import type { ValidateMessages } from 'rc-field-form/lib/interface'; import * as React from 'react'; import type { PickerLocale as DatePickerLocale } from '../date-picker/generatePicker'; import type { TransferLocale as TransferLocaleForEmpty } from '../empty'; import type { ModalLocale } from '../modal/locale'; import type { TourLocale } from '../tour/interface'; import type { PaginationLocale } from '../pagination/Pagination'; import type { PopconfirmLocale } from '../popconfirm/PurePanel'; import type { TableLocale } from '../table/interface'; import type { TransferLocale } from '../transfer'; import type { UploadLocale } from '../upload/interface'; export declare const ANT_MARK = "internalMark"; export interface Locale { locale: string; Pagination?: PaginationLocale; DatePicker?: DatePickerLocale; TimePicker?: Record<string, any>; Calendar?: Record<string, any>; Table?: TableLocale; Modal?: ModalLocale; Tour?: TourLocale; Popconfirm?: PopconfirmLocale; Transfer?: TransferLocale; Select?: Record<string, any>; Upload?: UploadLocale; Empty?: TransferLocaleForEmpty; global?: Record<string, any>; PageHeader?: { back: string; }; Icon?: Record<string, any>; Text?: { edit?: any; copy?: any; copied?: any; expand?: any; }; Form?: { optional?: string; defaultValidateMessages: ValidateMessages; }; Image?: { preview: string; }; QRCode?: { expired: string; refresh: string; }; LmCustomOption?: Record<string, any>; LmFilter?: Record<string, any>; LmUpload?: Record<string, any>; ComplexFilter?: Record<string, any>; AdvancedFilter?: Record<string, any>; FilterWidget?: Record<string, any>; } export interface LocaleProviderProps { locale: Locale; children?: React.ReactNode; /** @internal */ _ANT_MARK__?: string; } declare const LocaleProvider: React.FC<LocaleProviderProps>; export default LocaleProvider;