lark-cms
Version:
Multi terminal CMS component library
29 lines (28 loc) • 1.15 kB
TypeScript
import { getFlashMessageStatusBarHeight, styleWithInset } from "./FlashMessageWrapper.rn";
import { positionStyle, showMessage, hideMessage, FlashMessageTransition, renderFlashMessageIcon } from "./FlashMessage.rn";
/**
* 导出对象
*/
declare const YhwToastAPI: {
FlashMessageManager: {
_preservedFlashMessages: never[];
_currentFlashMessage: null;
_enabled: boolean;
readonly isEnabled: boolean;
setDisabled(disable?: boolean): void;
hold(_tempInstance: any): void;
unhold(): void;
register(_instance: any): void;
unregister(_instance: any): void;
getCurrent(): null;
};
DefaultFlash: import("react").ForwardRefExoticComponent<import("react").RefAttributes<unknown>>;
styleWithInset: typeof styleWithInset;
getFlashMessageStatusBarHeight: typeof getFlashMessageStatusBarHeight;
positionStyle: typeof positionStyle;
showMessage: typeof showMessage;
hideMessage: typeof hideMessage;
FlashMessageTransition: typeof FlashMessageTransition;
renderFlashMessageIcon: typeof renderFlashMessageIcon;
};
export default YhwToastAPI;