Files
frontend-app/uni_modules/uview-plus/components/u-status-bar/props.js
T

19 lines
499 B
JavaScript
Raw Normal View History

2026-07-23 14:31:06 +08:00
import { defineMixin } from '../../libs/vue'
import StatusBarDefaultProps from './statusBar'
import { registerComponentProps } from '../../libs/config/props.js'
const defProps = registerComponentProps(StatusBarDefaultProps)
export const props = defineMixin({
props: {
bgColor: {
type: String,
default: () => defProps.statusBar.bgColor
},
// 状态栏获取得高度
height: {
type: Number,
default: () => defProps.statusBar.height
}
}
})