@imgly/plugin-ai-generation-web
Version:
AI generation plugin for the CE.SDK editor
15 lines (14 loc) • 559 B
TypeScript
import CreativeEditorSDK from '@cesdk/cesdk-js';
import { RenderCustomProperty } from '../../core/provider';
/**
* Provides render function for a image url property that allows
* to select an image from the library with a MediaPreview
*
* By default this expects the property key to be `image_url`. This can be changed in the options.
*/
declare function renderImageUrlProperty(provderId: string, options: {
cesdk: CreativeEditorSDK;
propertyKey?: string;
defaultUrl?: string;
}): RenderCustomProperty;
export default renderImageUrlProperty;