Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/harmony/src/interactions/tsxComponents.ts>BotUI.createElement

An easy to use Discord API Library for Deno.
Go to Latest
method BotUI.createElement
import { BotUI } from "https://deno.land/x/harmony@v2.8.0/src/interactions/tsxComponents.ts";

Type Parameters

optional
T = any

Parameters

component: Component<T>
props: T
...children: Array<Element<ButtonProps | SelectProps>>