mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
43 lines (42 loc) • 677 B
TypeScript
import { ModelRef } from 'vue';
/**
* emits
*/
export interface Emits {
(event: 'click', e: MouseEvent): void;
}
/**
* props
*/
export interface Props {
/**
* 自定义大小
*/
size?: string;
/**
* 自定义激活颜色
*/
activeColor?: string;
/**
* 自定义未激活颜色
*/
inactiveColor?: string;
/**
* 异步状态
*/
async?: boolean;
/**
* 禁用状态
*/
disabled?: boolean;
}
/**
* useHandler
*/
export declare namespace USEHandler {
interface Option {
props: Readonly<Required<Props>>;
emit: Emits;
isActived: ModelRef<boolean>;
}
}