- {prependNodes}
-
- {this.renderLeftIcons()}
- {children}
- {this.renderRightIcons()}
-
- {appendNodes}
-
- );
- }
-
- renderLeftIcons = () => {
- const { icon, iconsPosition, compressed } = this.props;
-
- const leftCustomIcon =
- icon && (icon as IconShape)?.side !== 'right' ? icon : undefined;
-
- return leftCustomIcon ? (
-