add JSX components v2
This commit is contained in:
parent
b5dd0ed413
commit
4b1227149f
25 changed files with 1080 additions and 3 deletions
10
components-jsx/MentionableSelect.tsx
Normal file
10
components-jsx/MentionableSelect.tsx
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { ComponentTypes, MentionableSelectMenu } from "oceanic.js";
|
||||
|
||||
export type MentionableSelectProps = Omit<MentionableSelectMenu, "type">;
|
||||
|
||||
export function MentionableSelect(props: MentionableSelectProps): MentionableSelectMenu {
|
||||
return {
|
||||
type: ComponentTypes.MENTIONABLE_SELECT,
|
||||
...props
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue