diff --git a/app/soapbox/components/authorize-reject-buttons.tsx b/app/soapbox/components/authorize-reject-buttons.tsx index d4d90732e..347201e1b 100644 --- a/app/soapbox/components/authorize-reject-buttons.tsx +++ b/app/soapbox/components/authorize-reject-buttons.tsx @@ -52,19 +52,11 @@ const AuthorizeRejectButtons: React.FC = ({ onAuthorize switch (state) { case 'authorized': return ( -
- - - -
+ } /> ); case 'rejected': return ( -
- - - -
+ } /> ); default: return ( @@ -88,6 +80,20 @@ const AuthorizeRejectButtons: React.FC = ({ onAuthorize } }; +interface IActionEmblem { + text: React.ReactNode +} + +const ActionEmblem: React.FC = ({ text }) => { + return ( +
+ + {text} + +
+ ); +}; + interface IAuthorizeRejectButton { theme: 'primary' | 'danger' icon: string