discord-embed-visualizer
Version:
<div align="center">
28 lines (27 loc) • 708 B
TypeScript
import PropTypes from 'prop-types';
import { IEmbed } from '../generator';
interface IProps {
bot?: {
name?: string;
iconUrl?: string;
};
embed: IEmbed;
}
declare function Visualizer(props: IProps): JSX.Element;
declare namespace Visualizer {
var propTypes: {
bot: PropTypes.Requireable<Required<PropTypes.InferProps<{
name: PropTypes.Requireable<string>;
iconUrl: PropTypes.Requireable<string>;
}>>>;
embed: PropTypes.Validator<object>;
};
var defaultProps: {
bot: {
name: string;
iconUrl: string;
};
embed: {};
};
}
export { Visualizer };