Browse Source

ref(sdkUpdateAlert): Pass className down to Alert (#33837)

Vu Luong 2 years ago
parent
commit
8310d0a91d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      static/app/components/globalSdkUpdateAlert.tsx

+ 2 - 0
static/app/components/globalSdkUpdateAlert.tsx

@@ -17,6 +17,7 @@ import {SidebarPanelKey} from './sidebar/types';
 import Button from './button';
 
 interface InnerGlobalSdkSuggestionsProps extends AlertProps {
+  className?: string;
   sdkUpdates?: ProjectSdkUpdates[] | null;
   selection?: PageFilters;
 }
@@ -90,6 +91,7 @@ function InnerGlobalSdkUpdateAlert(
     <Alert
       type="info"
       showIcon
+      className={props.className}
       trailingItems={
         <Fragment>
           <Button