Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 2a372e2

Browse files
committed
Fix type error
1 parent 34fdb24 commit 2a372e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/csstransition.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface CSSTransitionProps
3838
style?: CSSProperties;
3939
}
4040

41-
export function createCSSTransition(reducer: typeof reduce) {
41+
export function createCSSTransition(reducer: typeof reduce): ComponentClass<CSSTransitionProps> {
4242
return class CSSTransition extends Component<CSSTransitionProps, CSSTransitionState> {
4343
public static defaultProps: any = {
4444
component: "div",

0 commit comments

Comments
 (0)