The only reason I would disagree with this is, lets picture you're using <Button size="md"> is hundreds of places in your app. Now, you get a requirement to change it from md to medium.
With the enum you only need to change it in the Button component itself, you don't need to go over every single scenario where you're using it and change to medium.