Skip to content

Commit

Permalink
Fix typing for iconVariant prop in SnackbarProvider (fixes iamhossein…
Browse files Browse the repository at this point in the history
  • Loading branch information
amakhrov authored Mar 9, 2019
1 parent 80293e6 commit f245446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function withSnackbar<P extends withSnackbarProps>(component: React.Compo
export interface SnackbarProviderProps extends Omit<SnackbarProps, 'open' | 'message' | 'classes'> {
classes?: Partial<ClassNameMap<CombinedClassKey>>;
maxSnack?: number;
iconVariant?: React.ComponentType<SvgIconProps>;
iconVariant?: Partial<Record<VariantType, React.ReactNode>>;
hideIconVariant?: boolean;
onClickAction?: Function;
preventDuplicate?: boolean;
Expand Down

0 comments on commit f245446

Please sign in to comment.