init
This commit is contained in:
22
uni_modules/nutui-uni/components/tabbaritem/tabbaritem.ts
Normal file
22
uni_modules/nutui-uni/components/tabbaritem/tabbaritem.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
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>
|
||||
Reference in New Issue
Block a user