comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
24 lines (22 loc) • 726 B
TypeScript
import { PropType, ExtractPropTypes } from 'vue';
import { ComicType } from '../../../utils';
export declare const badgeProps: {
readonly value: PropType<number | string>;
readonly dot: BooleanConstructor;
readonly max: {
readonly type: NumberConstructor;
readonly default: 99;
};
readonly type: {
readonly type: PropType<ComicType>;
readonly default: "danger";
};
readonly color: StringConstructor;
readonly zeroShow: BooleanConstructor;
readonly ellipsis: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly offset: PropType<number | number[]>;
};
export type BadgeProps = ExtractPropTypes<typeof badgeProps>;