Skip to main content

Type Alias: SetImageWidgetLibraryState()

SetImageWidgetLibraryState: (isOpen) => Promise<void>

Use this to open/close image upload widget for active block. Dispatches SET_IMAGE_WIDGET_OPEN Redux action.

Parameters

isOpen: boolean

If library is open

Returns

Promise<void>