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/navbar.d.ts
2020-01-10 17:45:01 +08:00

12 lines
456 B
TypeScript

import { BridgeContext } from "../runtime/global";
import { Color } from "../util/color";
import { View } from "../ui/view";
export declare function navbar(context: BridgeContext): {
isHidden: () => Promise<boolean>;
setHidden: (hidden: boolean) => Promise<any>;
setTitle: (title: string) => Promise<any>;
setBgColor: (color: Color) => Promise<any>;
setLeft: (view: View) => Promise<any>;
setRight: (view: View) => Promise<any>;
};