-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refined approach using useRef and single Card
- Loading branch information
Gabriele Granello
committed
Jan 8, 2025
1 parent
15a23eb
commit f5983b1
Showing
8 changed files
with
35 additions
and
153 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
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,15 @@ | ||
import React from "react"; | ||
|
||
type Props = React.PropsWithChildren<{ | ||
title: string; | ||
}>; | ||
|
||
const GraphCard: React.FC<Props> = ({ title }) => { | ||
return ( | ||
<div className="h-screen snap-start"> | ||
<span className="text-2xl text-black">{title}</span> | ||
</div> | ||
); | ||
}; | ||
|
||
export default GraphCard; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.