@xsolla/xui-primitives-core 0.112.0 → 0.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +2 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -115,6 +115,8 @@ interface TextProps {
|
|
|
115
115
|
whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
|
|
116
116
|
textAlign?: "left" | "center" | "right" | "justify";
|
|
117
117
|
textDecoration?: "none" | "underline" | "line-through";
|
|
118
|
+
/** Limits text to N lines with ellipsis truncation (native equivalent of noWrap) */
|
|
119
|
+
numberOfLines?: number;
|
|
118
120
|
style?: React.CSSProperties;
|
|
119
121
|
className?: string;
|
|
120
122
|
id?: string;
|
package/index.d.ts
CHANGED
|
@@ -115,6 +115,8 @@ interface TextProps {
|
|
|
115
115
|
whiteSpace?: "normal" | "nowrap" | "pre" | "pre-line" | "pre-wrap";
|
|
116
116
|
textAlign?: "left" | "center" | "right" | "justify";
|
|
117
117
|
textDecoration?: "none" | "underline" | "line-through";
|
|
118
|
+
/** Limits text to N lines with ellipsis truncation (native equivalent of noWrap) */
|
|
119
|
+
numberOfLines?: number;
|
|
118
120
|
style?: React.CSSProperties;
|
|
119
121
|
className?: string;
|
|
120
122
|
id?: string;
|