Added button component

This commit is contained in:
MrFry 2020-03-25 17:11:20 +01:00
parent b4dc053e1f
commit 615c77a1b1
2 changed files with 25 additions and 0 deletions

15
src/components/Button.js Normal file
View file

@ -0,0 +1,15 @@
import styles from './button.module.css'
export default function Button (props) {
return (
<div>
<center>
<a href={props.href}>
<div className={styles.ircLink}>
{props.text}
</div>
</a>
</center>
</div>
)
}

View file

@ -0,0 +1,10 @@
.ircLink {
background-color: #9999ff;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}