const onClick(): React.MouseEventHandler = (e) => { if (props.onClick !== undefined) { alert("デフォルト!"); } else props.onClick(); } return()