Skip to content

Commit

Permalink
feat(checkbox): support title API
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Nov 15, 2024
1 parent 0376e74 commit 742ebc5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/common/Check.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Check = forwardRef<HTMLLabelElement, CheckProps>((_props, ref) => {
style,
readonly,
onClick,
title,
...htmlProps
} = props;

Expand Down Expand Up @@ -75,7 +74,6 @@ const Check = forwardRef<HTMLLabelElement, CheckProps>((_props, ref) => {
checked={internalChecked}
disabled={disabled}
name={name}
title={title}
tabIndex={-1}
value={isBoolean(value) ? Number(value) : value}
data-value={typeof value === 'string' ? `'${value}'` : value}
Expand Down
4 changes: 3 additions & 1 deletion test/snap/__snapshots__/csr.test.jsx.snap

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/snap/__snapshots__/ssr.test.jsx.snap

Large diffs are not rendered by default.

0 comments on commit 742ebc5

Please sign in to comment.