Well, currently (more or less) the devaluation just offsets the new tariffs that have been imposed. So in real terms there wouldn’t be a huge change.
Absent the tariffs it would depend on the specific supply and demand for the good. I suspect both the manufacturer and the customer would split the value in some way.
Interestingly, the growth to the economy arises through how the devaluation impacts the savings and consumption rate for the countries in question. Weakening the yuan depresses Chinese household consumption and subsidies foreign household consumption. It is this change in national savings and consumption that drives the trade balance.