CreateAssignmentDialog component
Displays a dialog to create a new assignment with a custom name. Uses the client API to upload the assignment file before opening the editor.
<CreateAssignmentDialog open={showDialog} onClose={() => setShowDialog(false)} onCreate={(fileId, fileName, fileData) => { openExisting(fileData, fileId); setShowDialog(false); }} defaultName="Design Review"/> Copy
<CreateAssignmentDialog open={showDialog} onClose={() => setShowDialog(false)} onCreate={(fileId, fileName, fileData) => { openExisting(fileData, fileId); setShowDialog(false); }} defaultName="Design Review"/>
CreateAssignmentDialog component
Displays a dialog to create a new assignment with a custom name. Uses the client API to upload the assignment file before opening the editor.