Sanity Library Reference Docs
    Preparing search index...

    Interface IntentLinkProps

    Props for the IntentLink component.

    interface IntentLinkProps {
        intent: string;
        params?: IntentParameters;
        replace?: boolean;
        searchParams?: SearchParam[];
    }
    Index

    Properties

    intent: string

    The name of the intent.

    The parameters to include in the intent. IntentParameters

    replace?: boolean

    Whether to replace the current URL in the browser history instead of adding a new entry.

    searchParams?: SearchParam[]

    search params to include in the intent.