@carbon/ibm-products
Version:
Carbon for IBM Products
17 lines • 470 B
TypeScript
/**
* Copyright IBM Corp. 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
interface Params {
lines?: number;
value?: string;
expanded?: boolean;
}
export default function useTruncatedText({ lines, value, expanded }: Params): {
ref: import("react").RefObject<HTMLElement>;
truncated: boolean;
};
export {};
//# sourceMappingURL=useTruncatedText.d.ts.map