/** * Typography card — shared shell for a typography role's settings (Body * Text, Headings, Links, Buttons, Misc Text): title + description, a * section-level reset-to-default, and a field grid supplied by the caller. */ import { Button, Tooltip } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { Undo2 } from '../icons'; import type { ReactNode } from 'react'; interface TypographyCardProps { label: string; description?: string; isDefault: boolean; onReset: () => void; children: ReactNode; } export default function TypographyCard( { label, description, isDefault, onReset, children, }: TypographyCardProps ) { return (
{ description }
) }