@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
14 lines (13 loc) • 552 B
TypeScript
import React from "react";
import { OverviewItemLineProps } from "./../OverviewItem/OverviewItemLine";
export interface CardTitleProps extends Omit<OverviewItemLineProps, "small" | "large"> {
/**
* Use only normal font size instead of a large one.
*/
narrowed?: boolean;
}
/**
* Display a card title, can include other markup like `h2`, `h3` and so on to define document structure.
*/
export declare const CardTitle: ({ children, className, narrowed, ...otherProps }: CardTitleProps) => React.JSX.Element;
export default CardTitle;