UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

38 lines (37 loc) 653 B
import { ModelRef } from 'vue'; import { DefaultSlotProp } from '../types'; /** * props */ export interface Props { /** * 显示状态 */ visible?: boolean; /** * 点击遮罩层是否关闭 */ maskClose?: boolean; } interface SelectClassName { on: boolean; } interface DefaultSlotsProps { class: SelectClassName; } /** * Slots */ export interface Slots { default: (props: DefaultSlotsProps) => ReturnType<DefaultSlotProp>; } /** * useHandler */ export declare namespace USEHandler { interface Option { props: Readonly<Props>; visibleModel: ModelRef<boolean>; } } export {};