diff --git a/src/types.ts b/src/types.ts index 54dbe7d..ef8ea28 100644 --- a/src/types.ts +++ b/src/types.ts @@ -252,6 +252,10 @@ export interface SharedProps extends Partia * @param {string|number} key key of a snackbar */ action?: SnackbarAction; + /** + * Mapping between variants and an icon component + */ + iconVariant?: Partial>; /** * Hides iconVariant if set to `true`. * @default false @@ -377,10 +381,6 @@ export interface SnackbarProviderProps extends SharedProps { * Override or extend the styles applied to the container component or Snackbars. */ classes?: Partial>; - /** - * Mapping between variants and an icon component - */ - iconVariant?: Partial>; /** * @ignore * SnackbarProvider's ref