dcx-react-library icon indicating copy to clipboard operation
dcx-react-library copied to clipboard

Add capability to all components to take a `tabIndex` prop

Open Ibabalola opened this issue 2 years ago • 0 comments

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'

Ibabalola avatar Jun 27 '22 12:06 Ibabalola