# componentEmbedResponse

`function` in `discord-component-embed` · v0.1.0

<https://docs.seedcord.org/packages/discord-component-embed/0.1.0/functions/component-embed-response>

Builds the `Response` for a URL that a `<link rel="discord:component-embed">` tag points at.

```ts
componentEmbedResponse(root: ReactElement): Response
```

Builds the `Response` for a URL that a `<link rel="discord:component-embed">` tag points at.

Parameters.

- `root` `ReactElement`

Returns `Response`.
