mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-28 16:45:10 +08:00
Add typings for reactstrap (#15357)
* Add typings for reactstrap * Make lint happy * Do not „double-reference“ to React types
This commit is contained in:
16
reactstrap/lib/Button.d.ts
vendored
Normal file
16
reactstrap/lib/Button.d.ts
vendored
Normal 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;
|
||||
Reference in New Issue
Block a user