import { forwardRef, type MouseEvent } from "react"; interface ExampleCustomInputProps { value?: string; onClick?: (event: MouseEvent) => void; changeIcon?: string; onActivate?: () => void; } export const ExampleCustomInput = forwardRef( ({ value: _value, onClick, changeIcon: _changeIcon, onActivate }, ref) => { const handleClick = (event: MouseEvent) => { onActivate?.(); onClick?.(event); }; return ( ); } ); ExampleCustomInput.displayName = "ExampleCustomInput";