# TextChild

`type` in `discord-component-embed` · v0.2.2

<https://docs.seedcord.org/packages/discord-component-embed/0.2.2/types/text-child>

Text a [`TextDisplay`](/packages/discord-component-embed/0.2.2/functions/text-display) accepts. It drops a boolean, `null`, and `undefined`.

## Declaration

```ts
type TextChild =
    | string
    | number
    | boolean
    | null
    | undefined
    | readonly TextChild[];
```
