Skip to content

Commit

Permalink
fix : pressed 값에 따라 스프레드 연산자 사용
Browse files Browse the repository at this point in the history
  • Loading branch information
SeieunYoo committed Jun 9, 2024
1 parent 829d4e4 commit 686130c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wow-ui/src/components/Checkbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
aria-checked={checked}
aria-disabled={disabled}
aria-label={inputProps?.["aria-label"] ?? "checkbox"}
data-pressed={pressed || undefined}
{...(pressed && { "data-pressed": true })}
id={id}
ref={ref}
tabIndex={0}
Expand Down

0 comments on commit 686130c

Please sign in to comment.