@kryptogo/kryptogokit-sdk-react
Version:
KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.
20 lines (19 loc) • 754 B
TypeScript
import { type BoxProps } from '../Box/Box';
import { type AsyncImageSrc } from './useAsyncImage';
type CustomBorderColor = {
custom: string;
};
interface AsyncImageProps {
alt?: string;
src: string | AsyncImageSrc | undefined;
width: BoxProps['width'] | number;
height: BoxProps['height'] | number;
background?: string;
borderRadius?: BoxProps['borderRadius'];
useAsImage?: boolean;
borderColor?: BoxProps['borderColor'] | CustomBorderColor;
boxShadow?: BoxProps['boxShadow'];
testId?: string;
}
export declare function AsyncImage({ alt, background, borderColor, borderRadius, useAsImage, boxShadow, height, src: srcProp, width, testId, }: AsyncImageProps): import("react/jsx-runtime").JSX.Element;
export {};