(id, enterAnimation, enterDuration, exitAnimation, exitDuration)
| 5 | class Animation extends React.Component { |
| 6 | |
| 7 | renderStyle(id, enterAnimation, enterDuration, exitAnimation, exitDuration) { |
| 8 | return ( |
| 9 | ` |
| 10 | .${id}-entering.${enterAnimation} { |
| 11 | animation-duration: ${enterDuration / 1000}s; |
| 12 | animation-fill-mode: both; |
| 13 | } |
| 14 | .${id}-exiting.${exitAnimation} { |
| 15 | animation-duration: ${exitDuration / 1000}s; |
| 16 | animation-fill-mode: both; |
| 17 | } |
| 18 | ` |
| 19 | ) |
| 20 | } |
| 21 | |
| 22 | render() { |
| 23 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected