parent
b586d52f72
commit
d0dc94441d
@ -0,0 +1,26 @@ |
||||
import React from "react"; |
||||
|
||||
import styles from "./Sections.module.css"; |
||||
|
||||
interface SectionsData { |
||||
name: string; |
||||
url: string; |
||||
} |
||||
|
||||
interface SectionsProps { |
||||
data: SectionsData[]; |
||||
} |
||||
|
||||
export default function Sections({ data }: SectionsProps) { |
||||
return ( |
||||
<section> |
||||
<h1>Sections</h1> |
||||
{data.map((datum, index) => { |
||||
return <div> |
||||
<h4></h4> |
||||
<a></a> |
||||
</div>; |
||||
})} |
||||
</section> |
||||
); |
||||
} |
Loading…
Reference in new issue