(e, item)
| 45 | const textareaRef = useRef<HTMLTextAreaElement>(null); |
| 46 | |
| 47 | const onToolbarClick = (e, item) => { |
| 48 | // toolbar click can trigger input focus |
| 49 | textareaRef.current?.focus(); |
| 50 | props.onToolbarClick?.(item); |
| 51 | }; |
| 52 | |
| 53 | const getInfoClassName = (classname: string) => { |
| 54 | switch (classname) { |
no test coverage detected