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

    Function CreateNoteDialog

    • CreateNoteDialog component

      Displays a dialog to create a new note with a custom name. Uses the client API to upload the note file before opening the editor.

      Parameters

      Returns ReactElement

      <CreateNoteDialog
      open={showDialog}
      onClose={() => setShowDialog(false)}
      onCreate={(fileId, fileName, fileData) => {
      openExisting(fileData, fileId);
      setShowDialog(false);
      }}
      defaultName="Meeting Notes"
      />