Both. Renminbi is the currency name, while the yuan is the base unit.