zhangwei
2024-09-29 94384dcf5066aa1a7b2e37874fe331e148bc9249
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface SwipeActionProps {
  /**
   * 是否自动关闭其他swipe按钮组
   * @default true
   */
  autoClose?: boolean
  /**
   * 点击组件时触发
   * @param index 索引
   */
  onClick?: (index: number) => any
}
 
declare interface _SwipeAction {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      SwipeActionProps
  }
}
 
export declare const SwipeAction: _SwipeAction