Hiyve Components - v1.0.0
    Preparing search index...

    Function CreateAssignmentDialog

    • 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.

      Parameters

      Returns ReactElement

      <CreateAssignmentDialog
      open={showDialog}
      onClose={() => setShowDialog(false)}
      onCreate={(fileId, fileName, fileData) => {
      openExisting(fileData, fileId);
      setShowDialog(false);
      }}
      defaultName="Design Review"
      />