mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Merge pull request #21169 from kjaenicke/reactstrap-input-plaintext-prop
[reactstrap] Replaces static Input prop with new plaintext prop
This commit is contained in:
4
types/reactstrap/lib/Input.d.ts
vendored
4
types/reactstrap/lib/Input.d.ts
vendored
@@ -40,12 +40,10 @@ interface InputProps extends Intermediate {
|
||||
valid?: boolean;
|
||||
tag?: React.ReactType;
|
||||
innerRef?: string | ((instance: HTMLInputElement) => any);
|
||||
static?: boolean;
|
||||
plaintext?: boolean;
|
||||
addon?: boolean;
|
||||
className?: string;
|
||||
cssModule?: CSSModule;
|
||||
// We don't have the property 'static' here because 'static' is a reserved keyword in TypeScript
|
||||
// Maybe reactstrap will support an 'isStatic' alias in the future
|
||||
}
|
||||
|
||||
declare var Input: React.StatelessComponent<InputProps>;
|
||||
|
||||
Reference in New Issue
Block a user