Skip to content

Commit

Permalink
fix: typo: maskClassNname -> maskClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
aiyogg committed May 14, 2023
1 parent 99cf670 commit d35c39c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/zarm/src/popup/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Popup = React.forwardRef<HTMLDivElement, PopupProps>((props, ref) => {
lockScroll,
direction,
mask,
maskClassNname,
maskClassName,
maskStyle,
maskColor,
maskOpacity,
Expand Down Expand Up @@ -58,7 +58,7 @@ const Popup = React.forwardRef<HTMLDivElement, PopupProps>((props, ref) => {
<Trigger visible={visible} onClose={handleEsc}>
{mask && (
<Mask
className={maskClassNname}
className={maskClassName}
style={maskStyle}
visible={visible}
color={maskColor}
Expand Down
2 changes: 1 addition & 1 deletion packages/zarm/src/popup/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface BasePopupProps extends BaseTransitionProps {
animationDuration?: number;
width?: string | number;
mask?: boolean;
maskClassNname?: string;
maskClassName?: string;
maskStyle?: React.CSSProperties;
maskColor?: MaskProps['color'];
maskOpacity?: MaskProps['opacity'];
Expand Down

0 comments on commit d35c39c

Please sign in to comment.