This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-js/lib/src/native/statusbar.d.ts
2020-01-14 19:09:48 +08:00

12 lines
368 B
TypeScript

import { BridgeContext } from "../runtime/global";
import { Color } from "../util/color";
export declare enum StatusBarMode {
LIGHT = 0,
DARK = 1
}
export declare function statusbar(context: BridgeContext): {
setHidden: (hidden: boolean) => Promise<any>;
setMode: (mode: StatusBarMode) => Promise<any>;
setColor: (color: Color) => Promise<any>;
};