import type { CSSProperties } from "react"; const Card = (props: { label: string; value: string | number; sublabel?: string; rightSlot?: React.ReactNode; style?: CSSProperties }) => { return (
{props.label}
{props.rightSlot ?
{props.rightSlot}
: null}
{props.value}
{props.sublabel ?
{props.sublabel}
: null}
); } export default Card;