未验证 提交 28f1ca4f 编写于 作者: J JJ Kasper 提交者: GitHub

re-add prefetch prop type with deprecated (#7292)

上级 f533c558
......@@ -48,8 +48,12 @@ type LinkProps = {
replace?: boolean,
scroll?: boolean,
shallow?: boolean,
passHref?: boolean
passHref?: boolean,
onError?: (error: Error) => void,
/**
* @deprecated since version 8.1.1-canary.20
*/
prefetch?: boolean,
}
let observer: IntersectionObserver
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册