ant-design/site/theme/template/Components/Helmet.tsx
Tom Xu 1719748a29
chore: eslint add consistent-type-imports (#35419)
* chore: eslint add consistent-type-imports

* fix avatar

* Update Item.tsx
2022-05-07 14:31:54 +08:00

12 lines
316 B
TypeScript

import * as React from 'react';
import type { HelmetProps } from 'react-helmet-async';
import { Helmet } from 'react-helmet-async';
export interface WrapHelmetProps extends HelmetProps {
children?: React.ReactNode;
}
export default function WrapHelmet(props: WrapHelmetProps) {
return <Helmet {...props} />;
}