IText
Plain text.
Examples
Bold centered heading with custom typography
const heading: IText = {
text: "Document Management",
fontSize: "24px",
fontWeight: 600,
lineHeight: "32px",
color: "#333333",
isBold: true,
noSelect: true,
textAlign: "center"
}
Truncated description with hover tooltip
const description: IText = {
text: "This is a long description that will be truncated if it exceeds the container width...",
fontSize: "14px",
lineHeight: "20px",
color: "#666666",
truncate: true,
title: "Full description shown on hover"
}
Inline processing status with custom styling
const status: IText = {
text: "Processing",
fontSize: "12px",
isInline: true,
isItalic: true,
color: "#0066cc",
display: "inline-flex",
fontWeight: 500
}