()
| 100 | } |
| 101 | |
| 102 | const handleClose = () => { |
| 103 | closeTopBanner() |
| 104 | // Reset input mode if it's related to this banner |
| 105 | if (config.relatedInputMode && inputMode === config.relatedInputMode) { |
| 106 | setInputMode('default') |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | const themeRecord = theme as unknown as Record<string, string> |
| 111 | const borderColor = themeRecord[config.borderColorKey] |
nothing calls this directly
no test coverage detected