blob: fcbff7a037f193618ab68fd78e4ecf0d5566ce77 (
plain) (
tree)
|
|
import React from 'react';
import { Link } from 'react-router-dom';
import './GBButton.css';
interface GBButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
to: string;
text: string;
}
/**
* Standard button for issue actions
*/
const GBButton: React.FC<GBButtonProps> = (props) => {
return (
<Link to={props.to} className="bt-issue">
{props.text}
</Link>
);
};
export default GBButton;
|