I agree with Ellie.
However, if you decide you want to let her keep it, some plans allow you to set a limit on the number of texts your child makes. I would set a limit for the month. If she uses her limit the first week, or first hour, she has to wait until the next cycle before she can text again.
I would definitely take the phone if she continues to text in the presence of others she should be communicating with.