1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-23 01:36:39 +02:00
portfolio/src/components/atoms/Button.jsx

16 lines
275 B
React
Raw Normal View History

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