diff options
Diffstat (limited to 'webui/src/components')
-rw-r--r-- | webui/src/components/Button/GBButton.css | 19 | ||||
-rw-r--r-- | webui/src/components/Button/GBButton.tsx | 22 |
2 files changed, 0 insertions, 41 deletions
diff --git a/webui/src/components/Button/GBButton.css b/webui/src/components/Button/GBButton.css deleted file mode 100644 index 1f47fee4..00000000 --- a/webui/src/components/Button/GBButton.css +++ /dev/null @@ -1,19 +0,0 @@ -.bt-issue { - background-color: #2ea44fd9; - border: 1px solid; - border-color: #1b1f2326; - border-radius: 6px; - padding: 6px 12px; - - font-size: 14px; - color: #ffffff; - line-height: 20px; - text-decoration: none; - - transition: all 0.2s cubic-bezier(0.3, 0, 0.5, 1); -} - -.bt-issue:hover { - background-color: #2ea44f; - border-color: #1b1f2326; -}
\ No newline at end of file diff --git a/webui/src/components/Button/GBButton.tsx b/webui/src/components/Button/GBButton.tsx deleted file mode 100644 index fcbff7a0..00000000 --- a/webui/src/components/Button/GBButton.tsx +++ /dev/null @@ -1,22 +0,0 @@ -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; |