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

    Function CreateWhiteboardDialog

    • CreateWhiteboardDialog component

      Displays a dialog to create a new whiteboard with a custom name. Uses the client API to upload the whiteboard file.

      Parameters

      Returns ReactElement

      <CreateWhiteboardDialog
      open={showDialog}
      onClose={() => setShowDialog(false)}
      onCreate={(fileId, fileName) => {
      setWhiteboardFileId(fileId);
      setShowDialog(false);
      }}
      defaultName="Team Whiteboard"
      />