mirror of
https://github.com/Sonarr/Sonarr
synced 2025-01-03 13:45:02 +00:00
16 lines
449 B
TypeScript
16 lines
449 B
TypeScript
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;
|
|
}
|