import React, { ComponentPropsWithoutRef } from 'react'; export interface CustomIconProps extends ComponentPropsWithoutRef<'svg'> { size?: number | string; // width and height will both be set as the same value name?: string; } export const CustomIcon = ({ children, width = 24, height = 24, size, viewBox = '0 0 24 24', name, ...rest }: CustomIconProps) => { return ( {children} ); };