UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

66 lines (65 loc) 1.57 kB
import { DataTypes } from "@etsoo/shared"; /** * Labels */ export declare namespace Labels { /** * Common page labels */ const CommonPage: { add: string; back: string; delete: string; more: string; pullToRefresh: string; refresh: string; refreshing: string; releaseToRefresh: string; reset: string; save: string; scrollTop: string; submit: string; }; /** * Notification MU labels */ const NotificationMU: { alertTitle: string; alertOK: string; confirmTitle: string; confirmYes: string; confirmNo: string; promptTitle: string; promptCancel: string; promptOK: string; loading: string; success: string; warning: string; info: string; }; /** * UserAvatarEditor labels */ const UserAvatarEditor: { done: string; reset: string; rotateLeft: string; rotateRight: string; selectFile: string; zoom: string; }; /** * setLabelReference key reference */ interface setLabelsReference { commonPage?: DataTypes.StringDictionary; notificationMU?: DataTypes.StringDictionary; userAvatarEditor?: DataTypes.StringDictionary; } /** * Set components' labels * @param labels Labels * @param reference Key reference */ const setLabels: (labels: DataTypes.StringRecord, reference?: setLabelsReference) => void; }