Skip to main content
Version: Next

TextDisplayProps

TextDisplayProps

Represents the properties for a text display component. This interface extends the TextDisplayComponentData type from discord.js, excluding the 'type' and 'content' properties.

Signature
interface TextDisplayProps extends Omit<TextDisplayComponentData, 'type' | 'content'> {
children?: StringEncodable | StringEncodable[];
content?: string;
}
  • Extends: Omit<TextDisplayComponentData, 'type' | 'content'>

children

content

property
string