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

12 lines
456 B
TypeScript
Raw Normal View History

2020-01-03 14:44:51 +08:00
import { BridgeContext } from "../runtime/global";
import { Color } from "../util/color";
import { View } from "../ui/view";
2020-01-03 14:44:51 +08:00
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>;
2020-01-03 14:44:51 +08:00
};