oak-frontend-base/lib/components/imgBox/index.d.ts

12 lines
322 B
TypeScript

/// <reference types="react" />
declare type Props = {
src: string;
alt?: string;
width?: number;
height?: number;
bordered?: boolean;
type?: 'fill' | 'contain' | 'cover' | 'none' | 'scale-down' | 'initial' | 'inherit';
};
declare function ImgBox(props: Props): JSX.Element;
export default ImgBox;