From c0dc58838be8fe9aa11f25b22bcb7d96629ac713 Mon Sep 17 00:00:00 2001 From: Geoff Natin Date: Fri, 8 Feb 2019 16:36:43 +0000 Subject: [PATCH] feat(Button): add tabIndex property --- src/components/Button/Button.react.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Button/Button.react.js b/src/components/Button/Button.react.js index fcc2eeb8..d7ceae41 100644 --- a/src/components/Button/Button.react.js +++ b/src/components/Button/Button.react.js @@ -24,6 +24,7 @@ type PropsForAll = {| +icon?: string, +social?: string, +loading?: boolean, + +tabIndex?: number, +isDropdownToggle?: boolean, +to?: string, +isOption?: boolean, @@ -68,6 +69,7 @@ const Button = (props: Props): React.Node => { icon, social = "", loading, + tabIndex, isDropdownToggle, isOption, rootRef, @@ -107,6 +109,7 @@ const Button = (props: Props): React.Node => { onMouseLeave: onMouseLeave, onPointerEnter: onPointerEnter, onPointerLeave: onPointerLeave, + tabIndex: tabIndex, }; const childrenForAll = (