1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-30 21:51:50 +02:00
portfolio/src/components/atoms/Button.jsx

16 lines
278 B
React
Raw Normal View History

2018-07-10 16:05:52 +02:00
import React from 'react'
import PropTypes from 'prop-types'
2020-03-07 03:11:52 +01:00
import styles from './Button.module.css'
2018-07-10 16:05:52 +02:00
2020-03-21 23:55:40 +01:00
const Button = (props) => (
2018-07-10 16:05:52 +02:00
<a className={styles.button} {...props}>
{props.children}
</a>
)
Button.propTypes = {
children: PropTypes.node
}
export default Button