dcx-react-library
dcx-react-library copied to clipboard
Add capability to all components to take a `tabIndex` prop
All components of the library should be "tabbable", so to be so we need to expose prop, which allow consumers to pass in an index that can be assigned to a tabindex
prop, for example:
<div tabindex="1">First</div>
<div tabindex="2">Second</div>
Please add capability to the following components to take a tabIndex
that can added to the element within the DOM.
- Button
- CopyToClipboard
- Details
- FormDate
- FormSelect
- MultiSelect
- Progress
- Range
- Table
Please create your branch from release/0.6
git checkout release/0.6
git pull
git checkout -b 'feature/tab-index'