How to change the text of textmesh pro text

Hi guys I am using a textmesh pro text and i want to change the text style to a custom text i imported.
It does not allow me to do that
Can anyone help me how to do that
Thanks a lot!!!
(FAST)

You can change it as on UGUI.

 TextMeshProUGUI TextPro;
    TextPro.text = "Some String";

Using TMPro;

public class TextMeshProDemo : MonoBehaviour
{
  
    [SerializeField]
    private TextMeshPro textMeshPro;
 
    void Start()
    {
         textMeshPro.text = "Some text";
    }

}