@eccenca/gui-elements
Version:
GUI elements based on other libraries, usable in React application, written in Typescript.
20 lines (19 loc) • 801 B
TypeScript
import React from "react";
export interface OverviewItemLineProps extends React.HTMLAttributes<HTMLDivElement> {
/**
* Use it with a small font size.
*/
small?: boolean;
/**
* Use it with a large font size.
*/
large?: boolean;
}
/**
* Contains content of a single line in an `OverviewItemDescription` element.
* It is limited to one line only, text is not broken to multiple lines on white spaces.
* If the content overflows the container then this part of the content is hidden.
* It does not make sense to include more that 2 or 3 of those lines within one `OverviewItemDescription`.
*/
export declare const OverviewItemLine: ({ children, className, small, large, ...restProps }: OverviewItemLineProps) => React.JSX.Element;
export default OverviewItemLine;