1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-18 16:05:33 -04:00

refactor component imports/exports

This commit is contained in:
2022-03-16 11:22:56 -04:00
parent 83bb83804f
commit 4ea5b15db0
71 changed files with 224 additions and 139 deletions

View File

@@ -1,6 +1,6 @@
import { memo } from "react";
import { useRouter } from "next/router";
import MenuItem from "../MenuItem/MenuItem";
import MenuItem from "../MenuItem";
import { styled } from "../../lib/styles/stitches.config";
import { menuItems } from "../../lib/config/menu";
import type { ComponentProps } from "react";

2
components/Menu/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from "./Menu";
export { default } from "./Menu";