mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-06-16 01:13:21 +02:00
16 lines
275 B
JavaScript
16 lines
275 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import { button } from './Button.module.css'
|
|
|
|
const Button = (props) => (
|
|
<a className={button} {...props}>
|
|
{props.children}
|
|
</a>
|
|
)
|
|
|
|
Button.propTypes = {
|
|
children: PropTypes.node
|
|
}
|
|
|
|
export default Button
|