1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-23 22:25:56 -04:00

Convert Form Components to TypeScript

This commit is contained in:
Mark McDowall
2024-10-26 14:54:23 -07:00
committed by GitHub
parent c114e2ddb7
commit 682d2b4e1b
158 changed files with 5225 additions and 6112 deletions
+16
View File
@@ -0,0 +1,16 @@
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;
}