@k8slens/extensions / Exports / Renderer / Component / BaseIconProps
Interface: BaseIconProps#
Renderer.Component.BaseIconProps
Hierarchy#
- BaseIconProps
Table of contents#
Properties#
- active
- big
- data-testid
- disabled
- focusable
- href
- interactive
- link
- material
- size
- small
- smallest
- sticker
- svg
Properties#
active#
• Optional active: boolean
apply active-state styles
big#
• Optional big: boolean
A pre-defined icon-size
data-testid#
• Optional data-testid: string
disabled#
• Optional disabled: boolean
focusable#
• Optional focusable: boolean
Allow focus to the icon to show .active styles. Only applicable if interactive is true.
Default
true
href#
• Optional href: string
render icon as hyperlink
interactive#
• Optional interactive: boolean
indicates that icon is interactive and highlight it on focus/hover
link#
• Optional link: LocationDescriptor<unknown>
render icon as NavLink from react-router-dom
material#
• Optional material: string
One of the names from https://material.io/icons/
size#
• Optional size: string | number
The icon size (css units)
small#
• Optional small: boolean
A pre-defined icon-size
smallest#
• Optional smallest: boolean
A pre-defined icon-size
sticker#
• Optional sticker: boolean
svg#
• Optional svg: string
Either an SVG XML or one of NamedSvg