mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-05 05:04:26 +00:00
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:
1
types/reactstrap/lib/Button.d.ts
vendored
1
types/reactstrap/lib/Button.d.ts
vendored
@@ -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;
|
||||
|
||||
1
types/reactstrap/lib/CardLink.d.ts
vendored
1
types/reactstrap/lib/CardLink.d.ts
vendored
@@ -2,6 +2,7 @@ import { CSSModule } from '../index';
|
||||
|
||||
interface Props {
|
||||
tag?: React.ReactType;
|
||||
getRef?: string | ((instance: HTMLButtonElement) => any);
|
||||
className?: string;
|
||||
cssModule?: CSSModule;
|
||||
href?: string;
|
||||
|
||||
1
types/reactstrap/lib/Form.d.ts
vendored
1
types/reactstrap/lib/Form.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
1
types/reactstrap/lib/Input.d.ts
vendored
1
types/reactstrap/lib/Input.d.ts
vendored
@@ -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;
|
||||
|
||||
1
types/reactstrap/lib/NavLink.d.ts
vendored
1
types/reactstrap/lib/NavLink.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user