diff options
author | Clemens <cle1000.cb@gmail.com> | 2016-07-13 18:16:31 +0200 |
---|---|---|
committer | Clemens <cle1000.cb@gmail.com> | 2016-07-13 18:16:31 +0200 |
commit | f84098554a3d50ec02255603bb0a145b3aa0c6b2 (patch) | |
tree | e778b465346d9c96c27cd7663c2a95451710c262 /web/src/js/components/common/Button.jsx | |
parent | 544b1e32389d28df4a40013ea6886f1f9d61e37d (diff) | |
download | mitmproxy-f84098554a3d50ec02255603bb0a145b3aa0c6b2.tar.gz mitmproxy-f84098554a3d50ec02255603bb0a145b3aa0c6b2.tar.bz2 mitmproxy-f84098554a3d50ec02255603bb0a145b3aa0c6b2.zip |
added code editor and file upload
Diffstat (limited to 'web/src/js/components/common/Button.jsx')
-rw-r--r-- | web/src/js/components/common/Button.jsx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/src/js/components/common/Button.jsx b/web/src/js/components/common/Button.jsx index 574288df..221c6ace 100644 --- a/web/src/js/components/common/Button.jsx +++ b/web/src/js/components/common/Button.jsx @@ -10,8 +10,10 @@ export default function Button({ onClick, text, icon, disabled }) { <div className={"btn btn-default"} onClick={onClick} disabled={disabled}> - <i className={"fa fa-fw " + icon}/> - + <span hidden={!icon}> + <i className={"fa fa-fw " + icon}/> + + </span> {text} </div> ) |