1 | import type { ComponentPublicInstance } from 'vue';
|
2 | import type { SwipeCellProps } from './SwipeCell';
|
3 | export type SwipeCellSide = 'left' | 'right';
|
4 | export type SwipeCellPosition = SwipeCellSide | 'cell' | 'outside';
|
5 | export type SwipeCellExpose = {
|
6 | open: (side: SwipeCellSide) => void;
|
7 | close: (position: SwipeCellPosition) => void;
|
8 | };
|
9 | export type SwipeCellInstance = ComponentPublicInstance<SwipeCellProps, SwipeCellExpose>;
|