Adding getRef to focusable components per 3.8.1

This commit is contained in:
U-SWRI16\svogel
2017-08-01 14:02:54 -05:00
parent 706ba7a529
commit fb30b2cb8b
5 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ interface Props extends React.HTMLProps<HTMLButtonElement> {
color?: string;
disabled?: boolean;
tag?: React.ReactType;
getRef?: string | ((instance: HTMLButtonElement) => any);
onClick?: React.MouseEventHandler<any>;
size?: any;

View File

@@ -2,6 +2,7 @@ import { CSSModule } from '../index';
interface Props {
tag?: React.ReactType;
getRef?: string | ((instance: HTMLButtonElement) => any);
className?: string;
cssModule?: CSSModule;
href?: string;

View File

@@ -3,6 +3,7 @@ import { CSSModule } from '../index';
interface Props extends React.HTMLProps<HTMLFormElement> {
inline?: boolean;
tag?: React.ReactType;
getRef?: string | ((instance: HTMLButtonElement) => any);
className?: string;
cssModule?: CSSModule;
}

View File

@@ -38,6 +38,7 @@ interface InputProps extends Intermediate {
size?: string;
state?: string;
tag?: React.ReactType;
getRef?: string | ((instance: HTMLButtonElement) => any);
addon?: boolean;
className?: string;
cssModule?: CSSModule;

View File

@@ -2,6 +2,7 @@ import { CSSModule } from '../index';
interface Props extends React.HTMLProps<HTMLAnchorElement> {
tag?: React.ReactType;
getRef?: string | ((instance: HTMLButtonElement) => any);
disabled?: boolean;
active?: boolean;
className?: string;