You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
376 B
React
17 lines
376 B
React
1 year ago
|
// Strict Mode
|
||
|
"use strict";
|
||
|
|
||
|
// Styles
|
||
|
import styles from "./linkCard.module.css";
|
||
|
|
||
|
// Link Card
|
||
|
export default function LinkCard ({ title, links }) {
|
||
|
return (
|
||
|
<div className = { styles.linkCard }>
|
||
|
<h5>{ title }</h5>
|
||
|
{
|
||
|
links.map(link => <h5><a href = { link[1] }>{ link[0] }</a></h5>)
|
||
|
}
|
||
|
</div>
|
||
|
);
|
||
|
};
|