mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
37 lines (36 loc) • 549 B
TypeScript
import { PickNotRequiredUnion } from '../types';
/**
* emits
*/
export interface Emits {
(event: 'change', value: string | number): void;
}
/**
* props
*/
export interface Props {
/**
* 自动
*/
loop?: boolean;
/**
* 延迟时间
*/
delay?: number;
/**
* 组件高度
*/
height?: number | string;
/**
* 指示点
*/
dot?: boolean;
/**
* 倒角
*/
radius?: number;
}
/**
* hook
*/
export type PropsHookParam = PickNotRequiredUnion<Props, 'height'>;