@tplc/wot
Version:
48 lines (47 loc) • 1.05 kB
TypeScript
import type { ExtractPropTypes } from 'vue'
export type DividerPosition = 'center' | 'left' | 'right'
export type DividerDirection = 'horizontal' | 'vertical'
export declare const dividerProps: {
/**
* 自定义颜色
*/
color: StringConstructor
/**
* 内容位置,可选值为 `left` `right` `center`
* 默认值:`center`
*/
contentPosition: {
type: import('vue').PropType<DividerPosition>
default: DividerPosition
}
/**
* 是否显示为虚线
* 默认值:`false`
*/
dashed: BooleanConstructor
/**
* 是否为垂直分割线
* 默认值:`false`
*/
vertical: {
type: BooleanConstructor
default: boolean
}
/**
* 是否显示为 0.5px 的线
* 默认值:`true`
*/
hairline: {
type: BooleanConstructor
default: boolean
}
customStyle: {
type: import('vue').PropType<string>
default: string
}
customClass: {
type: import('vue').PropType<string>
default: string
}
}
export type DividerProps = ExtractPropTypes<typeof dividerProps>