UNPKG

next-sanity

Version:
23 lines (19 loc) 645 B
import type {Config} from 'sanity' import type {SingleWorkspace} from 'sanity' import type {StudioProps} from 'sanity' declare function NextStudioLoading(props: NextStudioLoadingProps): JSX.Element export default NextStudioLoading /** @alpha */ export declare interface NextStudioLoadingProps extends Pick<StudioProps, 'scheme'> { /** * If your Studio Config has a custom theme you can pass it here to ensure the loading screen matches your theme. */ config?: Config | Required<Pick<SingleWorkspace, 'theme'>> /** * Render the <noscript> tag * @defaultValue true * @alpha */ unstable__noScript?: boolean } export {}