UNPKG

@react-md/card

Version:

Create interactable cards from the material design specifications.

22 lines (21 loc) 880 B
import { HTMLAttributes } from "react"; export interface CardTitleProps extends HTMLAttributes<HTMLHeadingElement> { /** * Boolean if the title should be smaller than normal. You should usually * enable this prop when using the `CardSubtitle` with this component in the * `CardHeader`. */ small?: boolean; /** * Boolean if the title should not be able to line-wrap and will ellipsis long * text. */ noWrap?: boolean; } /** * The `Cardtitle` component should normally be used within the `CardHeader` to * create a nicely styled `<h5>` title for your card. This can also be used * along with the `CardSubtitle` component within the `CardHeader` for a main * title and a subtitle. */ export declare const CardTitle: import("react").ForwardRefExoticComponent<CardTitleProps & import("react").RefAttributes<HTMLHeadingElement>>;