import React, { forwardRef, ReactNode } from 'react'; import { Button } from '@/components/ui/button'; interface ButtonIconProps { icon: ReactNode; children?: ReactNode; } type Props = ButtonIconProps & React.ComponentPropsWithoutRef; const ButtonWithIcon = forwardRef( ({ icon, children, ...rest }, ref) => { return ( ); } ); ButtonWithIcon.displayName = 'ButtonWithIcon'; export default ButtonWithIcon;