Add typings for reactstrap (#15357)

* Add typings for reactstrap

* Make lint happy

* Do not „double-reference“ to React types
This commit is contained in:
Marco Falkenberg
2017-03-24 16:36:17 +01:00
committed by Andy
parent 0d7686ae40
commit 8934f1102f
74 changed files with 4182 additions and 0 deletions

16
reactstrap/lib/Button.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
interface Props extends React.HTMLProps<HTMLButtonElement> {
outline?: boolean;
active?: boolean;
block?: boolean;
color?: string;
disabled?: boolean;
tag?: React.ReactType;
onClick?: React.MouseEventHandler<any>;
size?: any;
id?: string;
style?: React.CSSProperties;
}
declare var Button: React.StatelessComponent<Props>;
export default Button;