Interface ImageIcon<T>

interface ImageIcon<T> {
    height?: number;
    src: T extends object
        ? keyof T<T> & string
        : string;
    width?: number;
}

Type Parameters

  • T

Properties

Properties

height?: number
src: T extends object
    ? keyof T<T> & string
    : string
width?: number