File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Shared/Components/InfoIconTippy Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ export interface InfoIconTippyProps
164
164
dataTestid ?: string
165
165
children ?: TippyCustomizedProps [ 'children' ]
166
166
iconClassName ?: string
167
+ buttonPadding ?: string
167
168
}
168
169
169
170
export interface GenericEmptyStateType {
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const InfoIconTippy = ({
31
31
dataTestid = 'info-tippy-button' ,
32
32
children,
33
33
headingInfo,
34
+ buttonPadding = 'p-0' ,
34
35
} : InfoIconTippyProps ) => (
35
36
< TippyCustomized
36
37
theme = { TippyTheme . white }
@@ -53,7 +54,7 @@ const InfoIconTippy = ({
53
54
{ children || (
54
55
< button
55
56
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` }
57
58
aria-label = "Info Icon"
58
59
data-testid = { dataTestid }
59
60
>
You can’t perform that action at this time.
0 commit comments