Function: imagePlugin

imagePlugin(params?): RealmPlugin

A plugin that adds support for images.

Parameters

NameType
params?Object
params.ImageDialog?FC<{}> | () => Element
params.disableImageResize?boolean
params.imageAutocompleteSuggestions?string[]
params.imagePreviewHandler?null | (imageSource: string) => Promise<string>
params.imageUploadHandler?null | (image: File) => Promise<string>

Returns

RealmPlugin