Type alias CreateLearningElementsStepProps
CreateLearningElementsStepProps: { handleLearningElementChange: ((selectedLearningElements) => void); onBack?: (() => void); onNext: (() => void); onSolutionChange: ((selectedSolutions) => void); selectAllLearningElementsChecked: boolean; selectedLearningElements: { [
key:
number]
: RemoteLearningElement[]; }; selectedSolutions: { [
key:
number]
: Solution[]; }; selectedTopics: RemoteTopics[]; setSelectAllLearningElementsChecked: Dispatch<SetStateAction<boolean>>; }
Type declaration
-
handleLearningElementChange: ((selectedLearningElements) => void)
-
- (selectedLearningElements): void
-
Returns void
-
Optional
onBack?: (() => void)
-
onNext: (() => 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>>