Some checks failed
Build & Deploy Mintel Blog / build-and-deploy (push) Failing after 2m19s
21 lines
481 B
TypeScript
21 lines
481 B
TypeScript
import React from 'react';
|
|
|
|
export const useRouter = () => ({
|
|
push: () => { },
|
|
replace: () => { },
|
|
prefetch: () => { },
|
|
back: () => { },
|
|
});
|
|
|
|
export const useSearchParams = () => {
|
|
return new URLSearchParams();
|
|
};
|
|
|
|
export const usePathname = () => '/';
|
|
|
|
export const Link: React.FC<{ href: string; children: React.ReactNode; className?: string }> = ({ children, className }) => {
|
|
return <div className={className}>{children}</div>;
|
|
};
|
|
|
|
export default Link;
|