generated from scaffold-eth/scaffold-eth-2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
found typings for CleanLayout and HeaderFooterLayout - change backt t…
…o tsx files - revert change to tsconfig
- Loading branch information
1 parent
c8a6bb4
commit 861f534
Showing
4 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React, { ReactNode } from "react"; | ||
|
||
interface CleanLayoutProps { | ||
children: ReactNode; | ||
} | ||
|
||
export default function CleanLayout({ children }: CleanLayoutProps) { | ||
return ( | ||
<> | ||
<main className="relative flex flex-col justify-center flex-1">{children}</main> | ||
</> | ||
); | ||
} |
7 changes: 6 additions & 1 deletion
7
...components/layouts/HeaderFooterLayout.jsx → ...components/layouts/HeaderFooterLayout.tsx
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