# jsx

`function` in `discord-component-embed/jsx-runtime` · v1.0.0

<https://seedcord.org/docs/packages/discord-component-embed/1.0.0/functions/jsx>

The JSX transform calls this for every element in a file compiled with `jsxImportSource: 'discord-component-embed'`.

```ts
jsx(
    type: unknown,
    props: object
): EmbedElement
```

The JSX transform calls this for every element in a file compiled with `jsxImportSource: 'discord-component-embed'`.

Parameters.

- `type` `unknown`
- `props` `object`

Returns `EmbedElement`.
