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

Commit d381f8a

Browse files
committed
Defaults component of group to div
1 parent 4458485 commit d381f8a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/csstransitiongroup.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ export interface CSSTransitionGroupProps extends
2323
}
2424

2525
export class CSSTransitionGroup extends Component<CSSTransitionGroupProps, {}> {
26+
public static defaultProps: any = {
27+
component: "div",
28+
};
2629
private mounted = false;
2730
public componentDidMount = () => this.mounted = true;
2831

0 commit comments

Comments
 (0)