Merge pull request #18547 from FaithForHumans/patch-reactstrap

[reactstrap] Adding getRef to focus-able components for (old) release 3.8.1
This commit is contained in:
Bowden Kelly
2017-08-22 13:14:57 -07:00
committed by GitHub
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;