@verifiedinc-public/shared-ui-elements 0.13.2-beta.3 → 0.13.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/shared-ui-elements.mjs +1334 -1334
- package/package.json +1 -1
- package/src/components/Snackbar/index.tsx +3 -2
package/package.json
CHANGED
@@ -16,6 +16,7 @@ import {
|
|
16
16
|
SnackbarProvider,
|
17
17
|
} from 'notistack';
|
18
18
|
import { forwardRef } from 'react';
|
19
|
+
import { FullWidthAlert } from '../Alert';
|
19
20
|
|
20
21
|
declare module 'notistack' {
|
21
22
|
interface VariantOverrides {
|
@@ -106,7 +107,7 @@ export const CustomAlertComponent = forwardRef<
|
|
106
107
|
) => {
|
107
108
|
return (
|
108
109
|
<SnackbarContent ref={ref} {...props}>
|
109
|
-
<
|
110
|
+
<FullWidthAlert
|
110
111
|
severity={severity}
|
111
112
|
action={
|
112
113
|
<Box ml={1}>
|
@@ -139,7 +140,7 @@ export const CustomAlertComponent = forwardRef<
|
|
139
140
|
}}
|
140
141
|
>
|
141
142
|
{message}
|
142
|
-
</
|
143
|
+
</FullWidthAlert>
|
143
144
|
</SnackbarContent>
|
144
145
|
);
|
145
146
|
},
|