vue3-photo-preview
Version:
10 lines (9 loc) • 343 B
TypeScript
import { Ref } from 'vue';
import { HandleShowType, ItemType } from '../types';
type useVisibleReturn = {
visible: Ref<boolean>;
handleHide: () => void;
handleShow: HandleShowType;
};
export default function useVisible(items: Ref<ItemType[]>, index: Ref<number>, onVisibleChange: () => void): useVisibleReturn;
export {};