npm install -D react-discord-inviteimport DiscordInvite from "react-discord-invite";
import "react-discord-invite/dist/style.css";<DiscordInvite palette="light" guild="708050277957238784"/>
<DiscordInvite palette="dark" guild="4FBnfPA"/>
<DiscordInvite guild="4FBnfPA"/>| Prop | Default | Type | Description |
|---|---|---|---|
| palette | "dark" | "light" | "dark" | Sets the color scheme of the component. |
| guild | required | String | Sets the ID or invite code of the guild. |