@kennyldev/discord-embed-components
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

React Discord Embed Components

DiscordEmbedBuilder

Use a convenient form for building discord embeds that be input into Discord.js or sent to a standard discord webhook.

DiscordEmbedPreview

Props

Name Type
embedData EmbedData

DiscordEmbedPreview

Preview a discord embed in the browser.

DiscordEmbedPreview

Props

Name Type
embedData EmbedData
setEmbedData useState set function

Tips

Initial State

You can create an empty object with the EmbedData type to get your initial embedData prop.

const [embedData, setEmbedData] = useState<EmbedData>({});

Example Project

View an example project here!

Package Sidebar

Install

npm i @kennyldev/discord-embed-components

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

521 kB

Total Files

36

Last publish

Collaborators

  • kennyl