(e: any)
| 43 | }, [prevProps, props]) |
| 44 | |
| 45 | const getBottom = (e: any) => { |
| 46 | if (e.current) return e.current.scrollHeight - e.current.scrollTop - e.current.offsetHeight |
| 47 | return e.scrollHeight - e.scrollTop - e.offsetHeight |
| 48 | } |
| 49 | |
| 50 | const onOpen: MessageListEvent = (item, index, event) => { |
| 51 | if (props.onOpen instanceof Function) props.onOpen(item, index, event) |
no outgoing calls
no test coverage detected
searching dependent graphs…