Sanity Library Reference Docs
    Preparing search index...

    Interface HeaderOptions

    Configuration options for Presentation tool's optional custom preview header component

    interface HeaderOptions {
        component: ComponentType<PreviewHeaderProps>;
    }
    Index

    Properties

    Properties

    component: ComponentType<PreviewHeaderProps>

    React component to render as the preview header, receives PreviewHeaderProps