TextComponentData.textTransform property

Optional transform to apply to the text. Defaults to "none"

Signature:

textTransform?: "none" | "uppercase" | "lowercase" | "capitalize" | "togglecase";