mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
563 B
TypeScript
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;
|
|
}
|