-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #452 from Marukome0743/pr452
♻️refactor: define react types
- Loading branch information
Showing
11 changed files
with
30 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Heading } from "@/app/components/layout/heading" | ||
import { ABOUT } from "@/app/lib/constant" | ||
import type React from "react" | ||
import type { JSX } from "react" | ||
|
||
export default function About(): React.JSX.Element { | ||
export default function About(): JSX.Element { | ||
return <Heading menu={ABOUT} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Heading } from "@/app/components/layout/heading" | ||
import { CONTACT } from "@/app/lib/constant" | ||
import type React from "react" | ||
import type { JSX } from "react" | ||
|
||
export default function Contact(): React.JSX.Element { | ||
export default function Contact(): JSX.Element { | ||
return <Heading menu={CONTACT} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Heading } from "@/app/components/layout/heading" | ||
import { INFO } from "@/app/lib/constant" | ||
import type React from "react" | ||
import type { JSX } from "react" | ||
|
||
export default function Info(): React.JSX.Element { | ||
export default function Info(): JSX.Element { | ||
return <Heading menu={INFO} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import type React from "react" | ||
import type { ElementType } from "react" | ||
|
||
export type Menu = { | ||
name: string | ||
href: string | ||
color: string | ||
icon: React.ElementType | ||
icon: ElementType | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import { Heading } from "@/app/components/layout/heading" | ||
import { MEMBER } from "@/app/lib/constant" | ||
import type React from "react" | ||
import type { JSX } from "react" | ||
|
||
export default function Member(): React.JSX.Element { | ||
export default function Member(): JSX.Element { | ||
return <Heading menu={MEMBER} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters