UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

17 lines (16 loc) 431 B
/** * 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 | null>; truncated: boolean; }; export {};