Преглед изворни кода

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

visuddhinanda пре 1 година
родитељ
комит
78a2656906
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
   showDiff?: boolean;
   diffText?: string | null;
-  onChange?: Function;
+  onChange?: (data: ISentence) => void;
   onDelete?: Function;
 }
 const SentCellWidget = ({