discord-card-react
Version:
React Discord profile card component
17 lines (16 loc) • 761 B
TypeScript
import React from "react";
import { AboutMeItem } from "../../types";
/**
* Generates the About Me section with a title and optional items.
*
* @param {React.JSX.Element | React.JSX.Element[]} children - The content of the About Me section.
* @param {string} title - The title of the About Me section.
* @param {AboutMeItem[]} items - The items to display in the About Me section, instead of passing children to it.
* @return {JSX.Element} The About Me section component.
*/
declare const AboutMeSection: ({ children, title, items, }: {
children?: React.JSX.Element | React.JSX.Element[] | undefined;
title?: string | undefined;
items?: AboutMeItem[] | undefined;
}) => import("react/jsx-runtime").JSX.Element;
export default AboutMeSection;