chenglou / chenglou/react-motion
how to use react-motion library with modals
Open
- Dominant language
- JavaScript
- Stars
- 21.9k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I am using react-modal to create modals, and trying to slide the modal from bottom of page. For that i am trying react-motion TransitionMotion Component. My code is:
```
{ this.state.openNumberPopup &&
{ (interpolated) =>
{ interpolated.map(({ key, style, data }) =>
) }
}
}
```
where getStyles is
`getStyles = () => ({
opacity: spring(1),
scale: spring(1)
});`
but this is not working because modal component.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.