UNPKG

@sanity/visual-editing

Version:

[![npm stat](https://img.shields.io/npm/dm/@sanity/visual-editing.svg?style=flat-square)](https://npm-stat.com/charts.html?package=@sanity/visual-editing) [![npm version](https://img.shields.io/npm/v/@sanity/visual-editing.svg?style=flat-square)](https://

26 lines (25 loc) 1.17 kB
import type { VisualEditingProps } from './types'; interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const VisualEditing: $$__sveltets_2_IsomorphicComponent<{ zIndex?: VisualEditingProps["zIndex"]; /** * The refresh API allows smarter refresh logic than the default `location.reload()` behavior. * You can call the refreshDefault argument to trigger the default refresh behavior so you don't have to reimplement it. */ refresh?: VisualEditingProps["refresh"]; }, { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type VisualEditing = InstanceType<typeof VisualEditing>; export default VisualEditing;