Sanity Library Reference Docs
    Preparing search index...

    Interface DocumentLocation

    Represents a document location

    interface DocumentLocation {
        href: string;
        icon?: ComponentType;
        showHref?: boolean;
        title: string;
    }
    Index

    Properties

    href: string

    URL of the document location

    icon?: ComponentType

    Optional icon component to display instead of the default DesktopIcon

    showHref?: boolean

    Whether to show the href below the title. Defaults to true

    title: string

    Title of the document