Selaa lähdekoodia

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

visuddhinanda 2 vuotta sitten
vanhempi
sitoutus
78a2656906
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      dashboard/src/components/template/SentEdit/SentCell.tsx

+ 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 = ({