Most of the criticism I've seen covers two factors:
1. It only made perhaps a little dent, as it'd spread far past China already. Trump is dramatically exaggerating its effectiveness in an attempt to distract from how feckless the overall response was.
2. It was implemented in a rather silly fashion. Instead of actually banning travel from China, we permitted US citizens to come back with minimal screening to spread it here.
https://www.factcheck.org/2020/03/the-facts-on-trumps-travel...
Compare their numbers now.
The US is actually one of the least flattened curves. Orange line: https://upload.wikimedia.org/wikipedia/commons/3/33/Epidemic...
Where are the drivethru testing centers, where anyone who wants a test can get one? Those were promised weeks ago.
Tests are still being heavily rationed.
At the time, it was a "Chinese problem". It's hard to "close your borders to China" without being accused of "xenophobia" in the modern era. What's your/their concrete counterproposal for the time? Leave them open? That certainly appears to have been the implicit counterproposal being made by the accusers; what else could they possibly mean? In hindsight, how has that fared?
Or perhaps close the borders with Brazil and other countries, just to avoid singling out China, even though at the time, the disease was only in China?
The accusation of xenophobia can only float in an environment where the accusers aren't actually responsible for making concrete policy proposals. Once you have to manifest the accusation in concrete proposals, then you're playing the "are you going to be ahead or behind?" game just like everybody else, and will lose in one direction or the other, just like everybody else.
(One of the privileges of being the minority party is the ability to take shots at the majority party without having to actually propose anything concrete that would allow counteranalysis. This seems to be a non-trivial component of how the parties tend to oscillate back & forth. I phrase it as the "minority party" precisely because it isn't an accusation I'm slinging at a specific party. I've seen the cycle several times now on both sides.)