Type alias ImageProps

ImageProps: {
    alt?: string;
    crossOrigin?: "anonymous" | "use-credentials";
    errorContent?: ReactNode;
    fallbackSrc?: string;
    imageProps?: any;
    loader?: boolean;
    loading?: "eager" | "lazy";
    objectFit?: "contain" | "cover" | "fill";
    objectPosition?: string;
    placeholder?: any;
    placeholderComponent?: any;
    sizes?: string;
    src?: string;
    srcSet?: string;
} & CoreViewProps

Type declaration

  • Optional alt?: string
  • Optional crossOrigin?: "anonymous" | "use-credentials"
  • Optional errorContent?: ReactNode
  • Optional fallbackSrc?: string
  • Optional imageProps?: any
  • Optional loader?: boolean
  • Optional loading?: "eager" | "lazy"
  • Optional objectFit?: "contain" | "cover" | "fill"
  • Optional objectPosition?: string
  • Optional placeholder?: any
  • Optional placeholderComponent?: any
  • Optional sizes?: string

    Size of the input

    Default

    md
    
  • Optional src?: string
  • Optional srcSet?: string

Generated using TypeDoc