Skip to content

Commit

Permalink
fix ts define
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Sep 2, 2019
1 parent bc567e1 commit a9cb99d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Selector/MultipleSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ const SelectSelector: React.FC<SelectorProps> = ({
showSearch,
autoFocus,
accessibilityIndex,
tabIndex,

removeIcon,
choiceTransitionName,
Expand Down Expand Up @@ -170,6 +171,7 @@ const SelectSelector: React.FC<SelectorProps> = ({
value={searchValue}
onKeyDown={onInputKeyDown}
onChange={onInputChange}
tabIndex={tabIndex}
/>

{/* Measure Node */}
Expand Down
2 changes: 2 additions & 0 deletions src/Selector/SingleSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
open,
values,
placeholder,
tabIndex,

showSearch,
searchValue,
Expand Down Expand Up @@ -55,6 +56,7 @@ const SingleSelector: React.FC<SelectorProps> = ({
value={inputValue}
onKeyDown={onInputKeyDown}
onChange={onInputChange}
tabIndex={tabIndex}
/>
</span>

Expand Down
2 changes: 2 additions & 0 deletions src/Selector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export interface InnerSelectorProps {
searchValue: string;
accessibilityIndex: number;
open: boolean;
tabIndex?: number;

onInputKeyDown: React.KeyboardEventHandler<HTMLInputElement | HTMLTextAreaElement>;
onInputChange: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement>;
Expand All @@ -54,6 +55,7 @@ export interface SelectorProps {

autoFocus?: boolean;
accessibilityIndex: number;
tabIndex?: number;
disabled?: boolean;
placeholder?: React.ReactNode;
removeIcon?: RenderNode;
Expand Down

1 comment on commit a9cb99d

@vercel
Copy link

@vercel vercel bot commented on a9cb99d Sep 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.