You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
398 B
16 lines
398 B
export function parseNavigationBar (webviewStyle) {
|
|
let titleText = ''
|
|
let textColor = ''
|
|
let backgroundColor = ''
|
|
const titleNView = webviewStyle.titleNView
|
|
if (titleNView) {
|
|
titleText = titleNView.titleText || ''
|
|
textColor = titleNView.textColor || ''
|
|
backgroundColor = titleNView.backgroundColor || ''
|
|
}
|
|
return {
|
|
titleText,
|
|
textColor,
|
|
backgroundColor
|
|
}
|
|
}
|
|
|