@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
19 lines (18 loc) • 680 B
TypeScript
//#region src/system/custom.d.ts
type IsTruncatedProps = {
isTruncated?: boolean;
};
/** Provides styling to truncate single-line text. */
declare const isTruncated: import("@xstyled/system").StyleGenerator;
type MaxLinesProps = {
maxLines?: number;
};
/** Provides styling to truncate multi-line text. */
declare const maxLines: import("@xstyled/system").StyleGenerator;
type WordBreakProps = {
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word';
};
declare const wordBreak: import("@xstyled/system").StyleGenerator;
//#endregion
export { IsTruncatedProps, MaxLinesProps, WordBreakProps, isTruncated, maxLines, wordBreak };
//# sourceMappingURL=custom.d.ts.map