We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c513d commit b0510f7Copy full SHA for b0510f7
src/components/snackbar/snackbarStandAlone.tsx
@@ -130,7 +130,7 @@ const SnackbarStandAloneComponent = (
130
<ElementOrIcon
131
customIconStyles={props.styles?.closeIcon}
132
dataTestId={`${props.dataTestId}Icon`}
133
- onClick={props.onCloseButtonClick(false)}
+ onClick={e => props.onCloseButtonClick(false)(e)}
134
{...props.closeIcon}
135
/>
136
</ButtonWrapper>
0 commit comments