Interface NamedIcon<T>

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

Type Parameters

  • T

Properties

Properties

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