Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshmerlino/react-discord-invite
A React component to invite users to a Discord server with an interactive widget.
https://github.com/joshmerlino/react-discord-invite
Last synced: about 1 month ago
JSON representation
A React component to invite users to a Discord server with an interactive widget.
- Host: GitHub
- URL: https://github.com/joshmerlino/react-discord-invite
- Owner: JoshMerlino
- Created: 2021-08-22T20:38:30.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T22:19:37.000Z (over 2 years ago)
- Last Synced: 2024-05-28T18:59:10.715Z (9 months ago)
- Language: TypeScript
- Homepage: https://npmjs.com/package/react-discord-invite
- Size: 658 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-discord-invite
```bash
npm install -D react-discord-invite
``````javascript
import DiscordInvite from "react-discord-invite";
import "react-discord-invite/dist/style.css";
``````javascript
```
### 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. |