mirror of
https://github.com/mitchell/mjfs.us.git
synced 2025-07-01 08:46:10 +00:00
19 lines
315 B
TypeScript
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>
|
|
)
|
|
}
|
|
}
|