Skip to content

Commit

Permalink
Remove duplicate ClassNameMap (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and iamhosseindhv committed Apr 1, 2019
1 parent 58a99ce commit cb4ce42
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export function withSnackbar<P extends withSnackbarProps>(component: React.Compo

export function useSnackbar(): withSnackbarProps;

export type ClassNameMap<ClassKey extends string = string> = Record<ClassKey, string>;

// all material-ui props, including class keys for notistack and material-ui with additional notistack props
export interface SnackbarProviderProps extends Omit<SnackbarProps, 'open' | 'message' | 'classes'> {
classes?: Partial<ClassNameMap<CombinedClassKey>>;
Expand Down

0 comments on commit cb4ce42

Please sign in to comment.