docs: update faq to include valid version of qmpc #52

This commit is contained in:
鲁树人
2023-11-02 23:57:36 +00:00
parent c39d2edce7
commit a0bab29966
5 changed files with 41 additions and 12 deletions

View File

@@ -0,0 +1,12 @@
import type { AnchorHTMLAttributes } from 'react';
import { ExternalLinkIcon } from '@chakra-ui/icons';
import { Link } from '@chakra-ui/react';
export function ExtLink({ children, ...props }: AnchorHTMLAttributes<HTMLAnchorElement>) {
return (
<Link isExternal {...props} rel="noreferrer noopener nofollow">
{children}
<ExternalLinkIcon />
</Link>
);
}