pub fn text_display(
text_display: &TextDisplay,
) -> Result<(), ComponentValidationError>
Expand description
Validates a text display component.
ยงErrors
This will error with TextDisplayContentTooLong
if the content is longer
than [TEXT_DISPLAY_CONTENT_LENGTH_MAX
].