Skip to content

Commit

Permalink
Fix SnackbarContainer classes typo (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
whytspace authored May 8, 2021
1 parent f188d2b commit bfdc791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const REASONS: { [key: string]: CloseReason } = {

/** Tranforms classes name */
export const transformer = {
toContainerAnchorOrigin: (origin: string) => `anchorOrigin${origin}` as ContainerClassKey,
toContainerAnchorOrigin: (origin: string) => `containerAnchorOrigin${origin}` as ContainerClassKey,
toAnchorOrigin: ({ vertical, horizontal }: SnackbarOrigin) => (
`anchorOrigin${capitalise(vertical)}${capitalise(horizontal)}` as SnackbarClassKey
),
Expand Down

0 comments on commit bfdc791

Please sign in to comment.