diff options
Diffstat (limited to 'client/src/Components/Button.js')
| -rw-r--r-- | client/src/Components/Button.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/client/src/Components/Button.js b/client/src/Components/Button.js deleted file mode 100644 index b6ed91b..0000000 --- a/client/src/Components/Button.js +++ /dev/null @@ -1,15 +0,0 @@ -import React from 'react'; -import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import {faArrowRight, faTimes} from '@fortawesome/free-solid-svg-icons'; - -function Button(props) { - return ( - <div className="button-container"> - <button type="submit" className={"button" + (props.valid ? "" : " disabled")} id="btn" onClick={props.submit}> - <FontAwesomeIcon icon={props.valid ? faArrowRight : faTimes}/> - </button> - </div> - ) -} - -export default Button; \ No newline at end of file |
