import React, { useCallback } from 'react'; import ContextMenuItem from '../../../base/ui/components/web/ContextMenuItem'; const CustomOptionButton = ( { icon: iconSrc, onClick, text }: { icon: string; onClick: (e?: React.MouseEvent | undefined) => void; text: string; } ) => { const icon = useCallback(props => (), [ iconSrc ]); return ( ); }; export default CustomOptionButton;