UNPKG

discord-card-react

Version:
19 lines (18 loc) 903 B
/** * Renders a section displaying the member's join dates on Discord and the server. * * @param {string} title - Optional title for the section * @param {string} discordJoinDate - The date the member joined Discord * @param {string} serverJoinDate - Optional date the member joined the server * @param {string} serverIconUrl - Optional URL for the server icon * @param {string} serverName - Optional name of the server (Used for accessibility in the alt attribute) * @return {JSX.Element} The rendered section component */ declare const MemberSinceSection: ({ title, discordJoinDate, serverJoinDate, serverIconUrl, serverName, }: { title?: string | undefined; discordJoinDate: string; serverJoinDate?: string | undefined; serverIconUrl?: string | undefined; serverName?: string | undefined; }) => import("react/jsx-runtime").JSX.Element; export default MemberSinceSection;