Sports star Conor McGregor has been charged in Ireland after being arrested for alleged dangerous driving.