import { Binding } from "astal"; import { bind, derive } from "astal"; import AstalBluetooth from "gi://AstalBluetooth"; const DeviceList = function ({ devices, }: { devices: Binding; }) { return ( {devices.as((devices) => { return devices.map((device) => { const name = bind(device, "name"); const connected = bind(device, "connected"); return (