import React, { forwardRef } from 'react'; export type IconProps = React.SVGProps & { /** * Width/height of the icon. If a number is provided it will be used as px. * Default: 24 */ size?: number | string; /** * Icon color — will be used as the fill for paths. * Default: 'currentColor' so color can be controlled via CSS. */ color?: string; /** * Accessible title. If provided, title will be rendered and aria-hidden will be false. */ title?: string; }; const TerminalIcon = forwardRef( ({ size = 24, color = 'currentColor', title, ...rest }, ref) => { // If user passed a numeric size, treat as px const sizeValue = typeof size === 'number' ? `${size}px` : size; return ( {title ? {title} : null} ); }, ); TerminalIcon.displayName = 'TerminalIcon'; export default TerminalIcon;