@shakrmedia/editor-sdk ShakrEditorGetMediaEvent > callback
ShakrEditorGetMediaEvent.callback property
Callback function that should be called with the media search results and total page number.
Signature:callback: (res: {
media_items: ShakrEditorMedia[];
page_total: number;
}) => void;