react-component/checkbox

Prop "title" is ignored

kilya11 opened this issue · 4 comments

If I pass the title as a prop to the Checkbox component, it will be removed before passing it to the HTML attribute title.
Like the data-*, aria-* and role attributes it should be passed over to the HTML.

E.g.
<Checkbox title="Dr. Prof." />
should be mapped to
<input type="checkbox" title="Dr. Prof." />.

this pr why not merged

#218 Is that better?

Or please handle the conflict.

#218 Is that better?

sure,I find it now