mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add typings for reactstrap * Make lint happy * Do not „double-reference“ to React types
19 lines
419 B
TypeScript
19 lines
419 B
TypeScript
/// <reference types='tether' />
|
|
|
|
export interface UncontrolledProps {
|
|
isOpen?: boolean;
|
|
toggle?: () => void;
|
|
}
|
|
|
|
export interface Props extends UncontrolledProps {
|
|
disabled?: boolean;
|
|
dropup?: boolean;
|
|
group?: boolean;
|
|
size?: string;
|
|
tag?: React.ReactType;
|
|
tether?: boolean | Tether.ITetherOptions;
|
|
className?: string;
|
|
}
|
|
|
|
declare var Dropdown: React.StatelessComponent<Props>;
|
|
export default Dropdown; |