(raw: string)
| 4234 | }, [commitOnBlur, focused, value]) |
| 4235 | |
| 4236 | const commit = (raw: string): void => { |
| 4237 | const next = raw.trim() |
| 4238 | if (commitOnBlur && next === value) return |
| 4239 | onChange(next ? next : null) |
| 4240 | } |
| 4241 | |
| 4242 | return ( |
| 4243 | <div |
no test coverage detected