sanity-plugin-iframe-pane
5.0.235.0.24
dist/index.d.ts~
dist/index.d.tsModified+1−1
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -4,9 +4,9 @@
type Size = 'desktop' | 'mobile';
type SizeProps = { [key in Size]: {
width: string | number;
height: string | number;
-} };
+}; };
type UrlResolver = (document: SanityDocument | null, perspective: Pick<ReturnType<typeof usePerspective>, 'selectedPerspectiveName' | 'perspectiveStack'>) => string | Error | undefined | Promise<string | Error | undefined>;
interface IframeOptions {
/**
* If you have multiple iframe instances side-by-side you need to give each a unique key.