@blocknote/react
Version:
A "Notion-style" block-based extensible text editor built on top of Prosemirror and Tiptap.
9 lines (8 loc) • 371 B
TypeScript
/**
* Tracks whether a file upload is in progress for a specific block. Returns
* `true` while the upload is active and `false` otherwise.
*
* @param blockId - The ID of the block to monitor for upload activity.
* @returns `true` if a file upload is currently in progress for the given block.
*/
export declare function useUploadLoading(blockId?: string): boolean;