Device Table
Last updated
Last updated
© Seam Labs, Inc. All rights reserved.
The devices table shows a list of devices and their statuses.
deviceIds
array
Optional list of specific device ids to return when requesting devices from the Seam API.
connectedAccountIds
array
Optional list of connected account ids to filter devices by when requesting devices from the Seam API.
disableLockUnlock
boolean
Hide the lock/unlock button for devices. Default: false
.
disableSearch
boolean
Hide the search box. Default: false
.
deviceFilter
function
Optional filter function to filter the listed devices.
Signature: (device: Device, searchInputValue: string) => boolean
deviceComparator
function
Optional comparator function to order the listed devices.
Signature: (deviceA: Device, deviceB: Device) => number
onDeviceClick
function
Optional callback fired when a device is clicked.
Signature: (deviceId: string) => void
preventDefaultOnDeviceClick
boolean
Prevent the default behavior when a device is clicked. Default: false
onBack
function
Optional callback fired when the Back chevron button is clicked.
Signature: () => void
className
string
Optional class name to add to the rendered component's containing element.