(detail: OpenChangeDetails)
| 58 | } |
| 59 | |
| 60 | const handleOpenChange = (detail: OpenChangeDetails) => { |
| 61 | if (!detail.open) { |
| 62 | onClose() |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | const handleKeyDown = (event: { key: string; preventDefault: () => void }) => { |
| 67 | if (event.key === 'Enter' && !isLoading) { |
nothing calls this directly
no outgoing calls
no test coverage detected