Dec
8
13 hours ago
Activity icon
issue

kahlan88 issue comment reactjs/react-transition-group

kahlan88
kahlan88

"../../node_modules/@types/react-transition-group"' has no exported member 'CSSTransitionGroup'

What is the current behavior?

When npm installing this lib as per readme and importing as follows:

import { CSSTransitionGroup } from 'react-transition-group'

The build produces the error

Module '"../../node_modules/@types/react-transition-group"' has no exported member 'CSSTransitionGroup'

What is the expected behavior?

build without error when following readme instructions.

kahlan88
kahlan88

Fixed by using current version instead (react documentation links to old version).

I just ran a fresh install and this still happens in v1 stable?

Activity icon
fork

xharmagne forked reactjs/react-transition-group

⚡ An easy way to perform animations when a React component enters or leaves the DOM
xharmagne Updated
fork time in 7 hours ago
Dec
7
1 day ago
Dec
6
2 days ago
Previous