import clsx from "clsx"; import type { FC, HTMLAttributes } from "react"; import styles from "./styles.module.css"; interface InfoItemProps extends HTMLAttributes { label: string; inline?: boolean; } /** * This component is an attribute for a given item, spell, or other entity. */ export const InfoItem: FC = ({ className, inline = true, label, children, ...props }) => (

{label}

{children}

);