type(Link): LinkProps add style type (#44041)

This commit is contained in:
thinkasany 2023-08-07 11:43:28 +08:00 committed by GitHub
parent 4e32093adc
commit d009fbdd4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ import nprogress from 'nprogress';
export type LinkProps = {
to?: string | { pathname?: string; search?: string; hash?: string };
children?: React.ReactNode;
style?: React.CSSProperties;
className?: string;
};