UNPKG

@aplus-frontend/ui

Version:

19 lines (18 loc) 557 B
import { accessCreate } from '@aplus-frontend/oss'; export interface ApImageProps { getOssAccess?: () => Promise<accessCreate>; width?: number | string; height?: number | string; alt?: string; fallback?: string; src?: string; fileName?: string; preview?: boolean | { visible?: boolean; onVisibleChange?: (visible: boolean, prevVisible: boolean) => void; getContainer: string | HTMLElement | (() => HTMLElement); src?: string; maskClassName?: string; current?: number; }; }