import * as React from "react"; type Props = { children?: React.ReactNode; className?: string; }; const EventBoundary: React.FC = ({ children, className }: Props) => { const handleClick = React.useCallback((event: React.SyntheticEvent) => { event.preventDefault(); event.stopPropagation(); }, []); return ( {children} ); }; export default EventBoundary;