e.stopPropagation()}
+ role="dialog"
+ aria-labelledby="bluetooth-picker-title"
+ aria-describedby="bluetooth-picker-message"
+ >
+
+
+ Select Bluetooth Device
+
+
+
+ {isScanning && devices.length === 0 ? (
+
+
+
Scanning for Bluetooth devices...
+
+ ) : (
+ <>
+
+ {devices.length} device{devices.length !== 1 ? 's' : ''} found. Select a device to connect:
+
+
+ {devices.map((device) => (
+
+ ))}
+
+ >
+ )}
+
+
+
+
+