Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 572 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 572 Bytes

react-discord-invite

npm install -D react-discord-invite
import 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"/>

Props

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.