mjfs.us/src/components/ClearButton/index.tsx
2019-09-02 21:53:03 -04:00

19 lines
315 B
TypeScript

import React from "react"
import "./index.css"
type Props = {
href: string
children: string
}
export default class ClearButton extends React.PureComponent<Props> {
public render() {
return (
<a className="clear-button" href={this.props.href}>
{this.props.children}
</a>
)
}
}