UNPKG

discord-card-react

Version:
14 lines (13 loc) 421 B
/// <reference types="react" /> /** * Renders a Discord link. * * @param {string} href - The URL of the link * @param {string} text - The text to display for the link, defaults to the link URL if not provided * @return {JSX.Element} The rendered Discord link component */ declare const DiscordLink: ({ href, text, }: { href: string; text?: string | undefined; }) => JSX.Element; export default DiscordLink;