discord-card-react
Version:
React Discord profile card component
19 lines (18 loc) • 903 B
TypeScript
/**
* 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;