版本发布

This commit is contained in:
icssoa
2025-07-21 16:47:04 +08:00
parent 1abed7a2e1
commit 6d8193880a
307 changed files with 41718 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import type { PassThroughProps } from "../../types";
import type { ClIconProps } from "../cl-icon/props";
export type ClImagePassThrough = {
className?: string;
inner?: PassThroughProps;
error?: ClIconProps;
loading?: PassThroughProps;
};
export type ClImageProps = {
className?: string;
pt?: ClImagePassThrough;
src?: string;
mode?: "scaleToFill" | "aspectFit" | "aspectFill" | "widthFix" | "heightFix" | "top" | "bottom" | "center" | "left" | "right" | "top left" | "top right" | "bottom left" | "bottom right";
border?: boolean;
preview?: boolean;
previewList?: string[];
height?: string | number;
width?: string | number;
showLoading?: boolean;
lazyLoad?: boolean;
fadeShow?: boolean;
webp?: boolean;
showMenuByLongpress?: boolean;
};