File tree Expand file tree Collapse file tree
Shared/Components/InfoIconTippy Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ export interface InfoIconTippyProps
164164 dataTestid ?: string
165165 children ?: TippyCustomizedProps [ 'children' ]
166166 iconClassName ?: string
167+ buttonPadding ?: string
167168}
168169
169170export interface GenericEmptyStateType {
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const InfoIconTippy = ({
3131 dataTestid = 'info-tippy-button' ,
3232 children,
3333 headingInfo,
34+ buttonPadding = 'p-0' ,
3435} : InfoIconTippyProps ) => (
3536 < TippyCustomized
3637 theme = { TippyTheme . white }
@@ -53,7 +54,7 @@ const InfoIconTippy = ({
5354 { children || (
5455 < button
5556 type = "button"
56- className = "p-0 dc__no-background dc__no-border dc__outline-none-imp flex dc__tab-focus dc__no-shrink"
57+ className = { ` ${ buttonPadding } dc__no-background dc__no-border dc__outline-none-imp flex dc__tab-focus dc__no-shrink` }
5758 aria-label = "Info Icon"
5859 data-testid = { dataTestid }
5960 >
You can’t perform that action at this time.
0 commit comments