Skip to main content

Interface: IconProperties

Defined in: shared/types/componentProps.ts:139

Icon integration properties.

Remarksโ€‹

These props provide consistent icon integration patterns across components that support icon display.

Extended byโ€‹

Propertiesโ€‹

icon?โ€‹

readonly optional icon: ReactNode

Defined in: shared/types/componentProps.ts:141

Icon element to display


iconColor?โ€‹

readonly optional iconColor: string

Defined in: shared/types/componentProps.ts:143

Color theme for the icon


iconOnly?โ€‹

readonly optional iconOnly: boolean

Defined in: shared/types/componentProps.ts:145

Whether to show only the icon (hide text content)


iconPosition?โ€‹

readonly optional iconPosition: "left" | "right"

Defined in: shared/types/componentProps.ts:147

Position of the icon relative to content