Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #417 from nating/tabindex
Browse files Browse the repository at this point in the history
feat(Button): add tabIndex property
  • Loading branch information
jonthomp committed Mar 11, 2019
2 parents adb30fb + c0dc588 commit 6342fd5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Button/Button.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type PropsForAll = {|
+icon?: string,
+social?: string,
+loading?: boolean,
+tabIndex?: number,
+isDropdownToggle?: boolean,
+to?: string,
+isOption?: boolean,
Expand Down Expand Up @@ -68,6 +69,7 @@ const Button = (props: Props): React.Node => {
icon,
social = "",
loading,
tabIndex,
isDropdownToggle,
isOption,
rootRef,
Expand Down Expand Up @@ -107,6 +109,7 @@ const Button = (props: Props): React.Node => {
onMouseLeave: onMouseLeave,
onPointerEnter: onPointerEnter,
onPointerLeave: onPointerLeave,
tabIndex: tabIndex,
};

const childrenForAll = (
Expand Down

0 comments on commit 6342fd5

Please sign in to comment.