Procházet zdrojové kódy

onChange?: (data: ISentence) => void;

visuddhinanda před 1 rokem
rodič
revize
78a2656906

+ 1 - 1
dashboard/src/components/template/SentEdit/SentCell.tsx

@@ -49,7 +49,7 @@ interface IWidget {
   compact?: boolean;
   compact?: boolean;
   showDiff?: boolean;
   showDiff?: boolean;
   diffText?: string | null;
   diffText?: string | null;
-  onChange?: Function;
+  onChange?: (data: ISentence) => void;
   onDelete?: Function;
   onDelete?: Function;
 }
 }
 const SentCellWidget = ({
 const SentCellWidget = ({