comic-plus
Version:
<p align="center"> <img width="200px" src="./logo.png"/> </p>
35 lines (33 loc) • 949 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
type Font = {
fontSize?: number;
fontFamily?: string;
fontStyle?: string;
fontWeight?: string;
color?: string;
};
export declare const watermarkProps: {
readonly width: NumberConstructor;
readonly height: NumberConstructor;
readonly image: StringConstructor;
readonly content: PropType<string | string[]>;
readonly font: PropType<Font>;
readonly zIndex: {
readonly type: NumberConstructor;
readonly default: 9;
};
readonly rotate: {
readonly type: NumberConstructor;
readonly default: -20;
};
readonly gap: {
readonly type: PropType<number[]>;
readonly default: readonly [100, 100];
};
readonly offset: {
readonly type: PropType<number[]>;
readonly default: readonly [0, 0];
};
};
export type WatermarkProps = ExtractPropTypes<typeof watermarkProps>;
export {};