react-discord-invite
TypeScript icon, indicating that this package has built-in type declarations

4.0.8 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i react-discord-invite

Weekly Downloads

50

Version

4.0.8

License

none

Unpacked Size

52.2 kB

Total Files

8

Last publish

Collaborators

  • jmer05