const onClick: React.MouseEventHandler | undefined = ( props.onClick === undefined ? { alert("デフォルト!"); } : props.onClick ) return()