@verifiedinc-public/shared-ui-elements 0.13.2-beta.6 → 0.14.0
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.
@@ -30,12 +30,12 @@ interface CustomAlertComponentProps extends Partial<CustomContentProps> {
|
|
30
30
|
* Hook to manage snackbar messages
|
31
31
|
* It wraps the enqueueSnackbar and closeSnackbar functions from the notistack library
|
32
32
|
* @returns
|
33
|
-
* -
|
33
|
+
* - enqueueSnackbar: Function to enqueue a snackbar message
|
34
34
|
* - closeSnackbar: Function to close one or all snackbar messages
|
35
35
|
* @see https://notistack.com/api-reference
|
36
36
|
*/
|
37
37
|
export declare function useSnackbar(): {
|
38
|
-
|
38
|
+
enqueueSnackbar: (message: string, severity?: AlertColor, options?: Omit<CustomAlertComponentProps, 'severity'>) => void;
|
39
39
|
closeSnackbar: (key?: SnackbarKey) => void;
|
40
40
|
};
|
41
41
|
/**
|