Browse Source

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

visuddhinanda 2 years ago
parent
commit
78a2656906
1 changed files with 1 additions and 1 deletions
  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 = ({