Skip to content

@k8slens/extensions / Exports / Renderer / Component / IconProps

Interface: IconProps#

Renderer.Component.IconProps

Hierarchy#

IconProps

Table of contents#

Properties#

Properties#

active#

Optional active: boolean

apply active-state styles

Inherited from#

BaseIconProps.active


big#

Optional big: boolean

A pre-defined icon-size

Inherited from#

BaseIconProps.big


children#

Optional children: StrictReactNode

Overrides#

React.HTMLAttributes.children


data-testid#

Optional data-testid: string

Inherited from#

BaseIconProps.data-testid


disabled#

Optional disabled: boolean

Inherited from#

BaseIconProps.disabled


focusable#

Optional focusable: boolean

Allow focus to the icon to show .active styles. Only applicable if interactive is true.

Default

true

Inherited from#

BaseIconProps.focusable


href#

Optional href: string

render icon as hyperlink

Inherited from#

BaseIconProps.href


interactive#

Optional interactive: boolean

indicates that icon is interactive and highlight it on focus/hover

Inherited from#

BaseIconProps.interactive


Optional link: LocationDescriptor<unknown>

render icon as NavLink from react-router-dom

Inherited from#

BaseIconProps.link


material#

Optional material: string

One of the names from https://material.io/icons/

Inherited from#

BaseIconProps.material


size#

Optional size: string | number

The icon size (css units)

Inherited from#

BaseIconProps.size


small#

Optional small: boolean

A pre-defined icon-size

Inherited from#

BaseIconProps.small


smallest#

Optional smallest: boolean

A pre-defined icon-size

Inherited from#

BaseIconProps.smallest


sticker#

Optional sticker: boolean

Inherited from#

BaseIconProps.sticker


svg#

Optional svg: string

Either an SVG XML or one of NamedSvg

Inherited from#

BaseIconProps.svg