import React from "react"; import clsx from "clsx"; import Link from "@docusaurus/Link"; import styles from "../src/pages/styles.module.css"; import Translate from "@docusaurus/Translate"; function Card({ to, header, body, externalIcon = false }) { /* Both the `header` and `body` expect an object with the following type header = { label: String, // translateId: String // } */ return (

{header.label} {externalIcon && ( )}

{typeof body === "object" && (

{body.label}

)}
); } export default Card;