Constructs a new TextDisplay component.
Optional initial data for the text display component.
Sets the text content to display.
The text content.
The updated TextDisplay instance.
Sets the ID for the text display component.
The ID to set.
The updated TextDisplay instance.
Represents a text display component builder. Used to display simple text content.
Example