discord-embed-visualizer
v1.1.0
Published
<div align="center">
Downloads
40
Readme
Discord Embed Visualizer
React component for generating and visualizing Discord Embeds
Installation
// Via NPM
npm install discord-embed-visualizer
// Via Yarn
yarn add discord-embed-visualizer
Usage
import { Generator, Visualizer } from 'discord-embed-visualizer';
<Generator
defaultValue={ default_embed_data }
onChange={ change_event }
/>
<Visualizer
bot={{ name: '', iconUrl: '' }} //optional
embed={ discord_embed_object }
/>
Examples
A demo is available on the github repo, just clone it, install packages
yarn install | npm install
and run the start scriptyarn start | npm start
.
Or if that's too much effort, you can just check out MRVDOG's online demo.