Type alias CreateLearningElementTableProps
CreateLearningElementTableProps: { children?: ReactNode; onLearningElementChange: ((selectedLearningElements) => void); onSolutionChange: ((selectedSolutions) => void); selectAllLearningElementsChecked: boolean; selectedLearningElements: { [
key:
number]
: RemoteLearningElement[]; }; selectedSolutions: { [
key:
number]
: Solution[]; }; selectedTopics: RemoteTopics[]; setSelectAllLearningElementsChecked: Dispatch<SetStateAction<boolean>>; }
Type declaration
-
Optional
children?: ReactNode
-
onLearningElementChange: ((selectedLearningElements) => void)
-
- (selectedLearningElements): void
-
Returns void
-
onSolutionChange: ((selectedSolutions) => void)
-
- (selectedSolutions): void
-
Parameters
-
selectedSolutions: {
[key: number]: Solution[];
}
Returns void
-
selectAllLearningElementsChecked: boolean
-
selectedLearningElements: {
[key: number]: RemoteLearningElement[];
}
-
selectedSolutions: {
[key: number]: Solution[];
}
-
-
setSelectAllLearningElementsChecked: Dispatch<SetStateAction<boolean>>