@types/react-addons-css-transition-group
Version:
TypeScript definitions for react-addons-css-transition-group
47 lines (38 loc) • 1.96 kB
Markdown
# Installation
> `npm install --save @types/react-addons-css-transition-group`
# Summary
This package contains type definitions for react-addons-css-transition-group (http://facebook.github.io/react/).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-css-transition-group.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-css-transition-group/index.d.ts)
````ts
import "react-addons-transition-group";
import { ComponentClass, CSSTransitionGroupProps } from "react";
declare module "react" {
interface CSSTransitionGroupTransitionName {
enter: string;
enterActive?: string | undefined;
leave: string;
leaveActive?: string | undefined;
appear?: string | undefined;
appearActive?: string | undefined;
}
export interface CSSTransitionGroupProps extends HTMLTransitionGroupProps<ReactCSSTransitionGroup> {
transitionName: string | CSSTransitionGroupTransitionName;
transitionAppear?: boolean | undefined;
transitionAppearTimeout?: number | undefined;
transitionEnter?: boolean | undefined;
transitionEnterTimeout?: number | undefined;
transitionLeave?: boolean | undefined;
transitionLeaveTimeout?: number | undefined;
}
}
declare var ReactCSSTransitionGroup: ReactCSSTransitionGroup;
type ReactCSSTransitionGroup = ComponentClass<CSSTransitionGroupProps>;
export = ReactCSSTransitionGroup;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/react-addons-transition-group](https://npmjs.com/package/@types/react-addons-transition-group)
# Credits
These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), and [Microsoft](https://microsoft.com).