Skip to content

Commit

Permalink
Prevent className overriding containerClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
ahkhanjani authored and guilhermerodz committed Mar 4, 2024
1 parent fbdd883 commit d3716ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/input-otp/src/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ export const OTPInput = React.forwardRef<HTMLInputElement, OTPInputProps>(
<div
data-input-otp-container
style={rootStyle({ disabled: props.disabled })}
className={containerClassName}
{...props}
className={containerClassName}
ref={ref}
>
{renderedChildren}
Expand Down

0 comments on commit d3716ac

Please sign in to comment.