mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
30 lines (29 loc) • 524 B
TypeScript
import { Ref, ModelRef } from 'vue';
export interface OnChangeParams {
name: string | number;
isChecked: Ref<boolean>;
}
/**
* emits
*/
export interface Emits {
(event: 'change', arr: (string | number)[]): void;
}
/**
* props
*/
export interface Props {
/**
* 排列方向, vertical | horizontal
*/
direction?: string;
}
/**
* useInitSlots
*/
export declare namespace USEInitSlots {
interface Option {
emit: Emits;
currentValue: ModelRef<(string | number)[]>;
}
}