import React, { forwardRef } from 'react'; import classNames from 'classnames'; export type IconWrapperProps = { prefixCls: string; className?: string; style?: React.CSSProperties; children?: React.ReactNode; }; const IconWrapper = forwardRef((props, ref) => { const { className, style, children, prefixCls } = props; const iconWrapperCls = classNames(`${prefixCls}-icon`, className); return ( {children} ); }); export default IconWrapper;