Skip to content
Functiondiscord-component-embedv1.1.1

TextDisplay

A block of Discord markdown. Every piece of text in a component embed must be inside one.

TextDisplay(_props: TextDisplayProps): null
<TextDisplay>
    # **[{page.title}]({page.url})**{'\n'}
    {page.description}
    {page.isNew && ' (new)'}
</TextDisplay>
// JSX reads a bare < as a tag. pass a custom emoji as a string
// an animated one is <a:name:id>
<TextDisplay>Built with {'<:seedcord:1538077321318236281>'} seedcord</TextDisplay>