Skip to content

Commit bcf85f7

Browse files
committed
revert OpenTransition props type to any
deciding to do this for now since this is internal only and the types are problematic to implement
1 parent f321d80 commit bcf85f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/@react-spectrum/overlays/src/OpenTransition.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
import React, {JSX, JSXElementConstructor, ReactElement} from 'react';
14-
import {Transition, TransitionProps} from 'react-transition-group';
14+
import {Transition} from 'react-transition-group';
1515

1616
const OPEN_STATES = {
1717
entering: false,
@@ -32,7 +32,8 @@ const OPEN_STATES = {
3232
*/
3333

3434
export function OpenTransition(
35-
props: TransitionProps
35+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
36+
props: any
3637
): JSX.Element | ReactElement<any, string | JSXElementConstructor<any>>[] {
3738
// Do not apply any transition if in chromatic.
3839
if (process.env.CHROMATIC) {

0 commit comments

Comments
 (0)