supprot: Create RecentlyCreatedIcon.tsx
@@ -3,7 +3,7 @@ import React, { useCallback, useMemo } from 'react';
import { smoothScrollIntoView } from '~/client/util/smooth-scroll';
import { usePageUser } from '~/stores/context';
-import RecentlyCreatedIcon from './Icons/RecentlyCreatedIcon';
+import { RecentlyCreatedIcon } from './Icons/RecentlyCreatedIcon';
const WIKI_HEADER_LINK = 120;
@@ -1,6 +1,6 @@
import React from 'react';
-const RecentlyCreatedIcon = () => (
+export const RecentlyCreatedIcon = (): JSX.Element => (
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
@@ -40,5 +40,3 @@ const RecentlyCreatedIcon = () => (
</g>
</svg>
);
-
-export default RecentlyCreatedIcon;