@amsterdam/design-system-react
Version: 
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
7 lines (6 loc) • 425 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { clsx } from 'clsx';
import { forwardRef } from 'react';
import { Heading } from '../Heading';
export const CardHeading = forwardRef(({ children, className, size = 'level-3', ...restProps }, ref) => (_jsx(Heading, { ...restProps, className: clsx('ams-card__heading', className), ref: ref, size: size, children: children })));
CardHeading.displayName = 'Card.Heading';