feat:add HeadView in panel
This commit is contained in:
@@ -179,4 +179,19 @@ export function navigator(context: BridgeContext) {
|
||||
return context.navigator.pop({ animated })
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export function navbar(context: BridgeContext) {
|
||||
return {
|
||||
setHidden: (hidden: boolean) => {
|
||||
return context.navbar.push({
|
||||
hidden,
|
||||
})
|
||||
},
|
||||
setTitle: (title: string) => {
|
||||
return context.navbar.push({
|
||||
title,
|
||||
})
|
||||
},
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user