zhangwei
2025-01-16 ea44321752674bc97efb7bfa987c19121c3d6881
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface IndexAnchorProps {
  /**
   * 列表锚点文本内容
   */
  text?: string | number
  /**
   * 列表锚点文字颜色
   * @default "#606266"
   */
  color?: string
  /**
   * 列表锚点文字大小,单位默认px
   * @default 14
   */
  size?: string | number
  /**
   * 列表锚点背景颜色
   * @default "#dedede"
   */
  bgColor?: string
  /**
   * 列表锚点高度,单位默认px
   * @default 32
   */
  height?: string | number
}
 
declare interface _IndexAnchor {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      IndexAnchorProps
  }
}
 
export declare const IndexAnchor: _IndexAnchor