next-sanity
Version: 
Sanity.io toolkit for Next.js
26 lines (25 loc) • 943 B
TypeScript
import { StudioProps } from "sanity";
//#region src/studio/client-component/NextStudio.d.ts
/** @public */
interface NextStudioProps extends StudioProps {
  children?: React.ReactNode;
  /**
  * Render the <noscript> tag
  * @defaultValue true
  * @alpha
  */
  unstable__noScript?: boolean;
  /**
  * The 'hash' option is new feature that is not yet stable for production, but is available for testing and its API won't change in a breaking way.
  * If 'hash' doesn't work for you, or if you want to use a memory based history, you can use the `unstable_history` prop instead.
  * @alpha
  * @defaultValue 'browser'
  */
  history?: "browser" | "hash";
}
//#endregion
//#region src/studio/client-component/NextStudioLazy.d.ts
declare function NextStudioLazyClientComponent(props: NextStudioProps): React.ReactNode;
//#endregion
export { NextStudioLazyClientComponent as NextStudio, type NextStudioProps };
//# sourceMappingURL=index.d.ts.map