discord-card-react
Version:
React Discord profile card component
22 lines (21 loc) • 1.21 kB
TypeScript
import React from "react";
import { BasicInfoSectionProps, ConnectionStatus, Badge, StatusSectionProps, AboutMeSectionProps, MemberSinceSectionProps, RoleSectionProps, NoteSectionProps, MessageSectionProps, SpotifySectionProps, ActivitySectionProps } from "../types";
declare const DiscordCard: ({ imageUrl, bannerUrl, primaryColor, accentColor, basicInfo, connectionStatus, badges, status, aboutMe, memberSince, roles, note, message, spotify, activity, children, }: {
imageUrl: string;
bannerUrl: string;
primaryColor: string;
accentColor: string;
basicInfo: BasicInfoSectionProps;
connectionStatus?: ConnectionStatus | undefined;
badges?: Badge[] | undefined;
status?: StatusSectionProps | undefined;
aboutMe?: AboutMeSectionProps | undefined;
memberSince?: MemberSinceSectionProps | undefined;
roles?: RoleSectionProps | undefined;
note?: NoteSectionProps | undefined;
message?: MessageSectionProps | undefined;
spotify?: SpotifySectionProps | undefined;
activity?: ActivitySectionProps | undefined;
children?: React.JSX.Element | React.JSX.Element[] | undefined;
}) => import("react/jsx-runtime").JSX.Element;
export default DiscordCard;