Interface: IconProperties
Defined in: shared/types/componentProps.ts:203
Icon-related properties for components that support icon rendering.
Remarksโ
These props provide consistent icon integration patterns across components that support icon display.
Hierarchyโ
Extended byโ
Propertiesโ
icon?โ
readonly optional icon?: ReactNode;
Defined in: shared/types/componentProps.ts:205
Icon element to display
iconColor?โ
readonly optional iconColor?: string;
Defined in: shared/types/componentProps.ts:207
Color theme for the icon
iconOnly?โ
readonly optional iconOnly?: boolean;
Defined in: shared/types/componentProps.ts:209
Whether to show only the icon (hide text content)
iconPosition?โ
readonly optional iconPosition?: "left" | "right";
Defined in: shared/types/componentProps.ts:211
Position of the icon relative to content