Text
import { LimitLines2, LimitLines1 } from "@arclockproject/common/components/Text";
For examples and live demos, see the Text guide.
LimitLines2
Component
MUI Typography cut off after 2 lines.
Props
Accepts all props of TypographyOwnProps and CommonProps.
Example
<LimitLines2>{description}</LimitLines2>
LimitLines1
Component
MUI Typography cut off after 1 line.
Props
Accepts all props of TypographyOwnProps and CommonProps.
Example
<LimitLines1>{title}</LimitLines1>