import React from "react"; import { CLASSPREFIX as eccgui } from "../../configuration/constants"; export interface OverviewItemLineProps extends React.HTMLAttributes { /** * 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 const OverviewItemLine = ({ children, className = "", small = false, large = false, ...restProps }: OverviewItemLineProps) => { return (
{children}
); }; export default OverviewItemLine;