(direction: 1 | -1)
| 195 | }, []); |
| 196 | |
| 197 | const scroll = (direction: 1 | -1) => |
| 198 | rowRef.current?.scrollBy({ |
| 199 | left: direction * rowRef.current.clientWidth * 0.8, |
| 200 | behavior: 'smooth', |
| 201 | }); |
| 202 | |
| 203 | return ( |
| 204 | <div className="relative"> |
no outgoing calls
no test coverage detected