(direction: SlideTransitionDirection, node: HTMLElement | null)
| 82 | } |
| 83 | |
| 84 | function setTranslateValue(direction: SlideTransitionDirection, node: HTMLElement | null): void { |
| 85 | if (!node) return; |
| 86 | const transform = getTranslateValue(direction, node); |
| 87 | if (transform) { |
| 88 | node.style.webkitTransform = transform; |
| 89 | node.style.transform = transform; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | const Slide = React.forwardRef<unknown, TransitionProps>((props, ref) => { |
| 94 | const { |
no test coverage detected
searching dependent graphs…