@tplc/business
Version:
36 lines (33 loc) • 868 B
text/typescript
import { LcbIconProps } from '../lcb-icon/types'
import { LcbActionViewProps } from '../lcb-action-view/types'
import { LcbBlockProps } from '../lcb-block/types'
export interface LcbTitleProps
extends LcbBlockProps,
Omit<LcbIconProps, 'color' | 'customStyle' | 'size'> {
/** 副标题 */
title: string
fontWeight?: number
action?: LcbActionViewProps
justify?:
| 'justify-start'
| 'justify-end'
| 'justify-center'
| 'justify-between'
| 'justify-around'
hint?: string
hintColor?: string
hintFontSize?: number
hintVerticalAlign?: 'end' | 'center'
showTitleLine?: boolean
lineRight?: number
lineColor?: string
lineWidth?: number
moreColor?: string
moreFontSize?: number
moreText?: string
moreVerticalAlign?: 'end' | 'center'
iconColor?: string
iconRight?: number
iconSize?: number
showIcon?: boolean
}