// Local icon adapter for the official SVG component contract. import type { ComponentType, ReactElement, SVGProps } from 'react' export type IconComponent = ComponentType> export interface IconProps extends Omit, 'as'> { as: IconComponent size?: number } export type SharedIconProps = Omit, 'as'> & { size?: number } export function Icon({ as: Component, size = 16, ...props }: IconProps): ReactElement { return }