Files
cmgd-mini-app/uni_modules/nutui-uni/components/tabbaritem/tabbaritem.ts
2026-01-05 12:47:14 +08:00

23 lines
491 B
TypeScript

import type { ExtractPropTypes } from 'vue'
import { commonProps } from '../_utils'
import { badgeProps } from '../badge'
export const tabbaritemProps = {
...commonProps,
...badgeProps,
/**
* @description 标签名称,作为匹配的标识符
*/
name: String,
/**
* @description 标签页显示的图标
*/
icon: String,
/**
* @description 标签页的标题
*/
tabTitle: String,
}
export type TabBarItemProps = ExtractPropTypes<typeof tabbaritemProps>