@aplus-frontend/ui
Version:
21 lines (20 loc) • 634 B
TypeScript
import { accessCreate } from '@aplus-frontend/oss';
import { UiModeType } from '../../config-provider';
export interface ApImageProps {
getOssAccess?: () => Promise<accessCreate>;
width?: number | string;
height?: number | string;
alt?: string;
fallback?: string;
src?: string;
fileName?: string;
uiMode?: UiModeType;
preview?: boolean | {
visible?: boolean;
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
getContainer: string | HTMLElement | (() => HTMLElement);
src?: string;
maskClassName?: string;
current?: number;
};
}