import React, { forwardRef } from "react"; import classNames from "classnames"; import { Box, BoxProps } from "../Box"; import { bem } from "../../utilities/bem"; const cn = "Truncate"; export interface TruncateProps extends BoxProps { lines?: number; } export const Truncate = forwardRef( function Truncate({ className, children, lines = 1, ...rest }, ref) { return ( {children} ); }, );