DefinitelyTyped/types/react-css-collapse/index.d.ts
2018-12-06 16:24:18 +11:00

19 lines
563 B
TypeScript

// Type definitions for react-css-collapse 3.6
// Project: https://github.com/SparebankenVest/react-css-collapse
// Definitions by: Daniel Ford <https://github.com/dford07>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
declare module 'react-css-collapse' {
interface Props {
isOpen: boolean;
className?: string | null;
onRest?: () => void;
transition?: string | null;
}
class Collapse extends React.Component<Props> {
render(): React.ReactElement<Props>;
}
export default Collapse;
}