You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
449 B
17 lines
449 B
4 months ago
|
declare module 'react-middle-truncate' {
|
||
|
import { ComponentPropsWithoutRef } from 'react';
|
||
|
|
||
|
interface MiddleTruncateProps extends ComponentPropsWithoutRef<'div'> {
|
||
|
text: string;
|
||
|
ellipsis?: string;
|
||
|
start?: number | RegExp | string;
|
||
|
end?: number | RegExp | string;
|
||
|
smartCopy?: 'all' | 'partial';
|
||
|
onResizeDebounceMs?: number;
|
||
|
}
|
||
|
|
||
|
export default function MiddleTruncate(
|
||
|
props: MiddleTruncateProps
|
||
|
): JSX.Element;
|
||
|
}
|