Sanity Library Reference Docs
    Preparing search index...

    Variable LinkConst

    Link: ForwardRefExoticComponent<
        Omit<LinkProps & HTMLProps<HTMLAnchorElement>, "ref"> & RefAttributes<
            HTMLAnchorElement,
        >,
    > = ...

    A component that creates an HTML anchor element.

    Props to pass to the Link component. See LinkProps

    function MyComponent() {
    return (
    <Link href="https://www.sanity.io" target="_blank" replace>
    Go to Sanity
    </Link>
    )
    }