docs: update text panel documentation (#84884)
* docs: update text panel
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
(cherry picked from commit 44ae127a6e)
Co-authored-by: Marie Cruz <mdcruz@users.noreply.github.com>