Designs
We will not be implementing the modal, as Jurny wants to use their own modal. We'll just be focusing on the innards. I want to get y'all's inputs on how we might tie one view to another

Link to figma
Note, we're going to implement infinite scroll, as opposed to pagination.
Properties
Publicly available props for the component:
interface DevicesTableProps {
deviceIds?: Array<string>
onDeviceRowClick?: (deviceId: string) => void
sortBy: "name" | "createdAt"
}
We'll list out all the devices listed in deviceIds. If deviceIds is undefined, show all devices.
onDeviceRowClick will allow a user to customize what they do when a user clicks on a device row.
Search
Search should look over the devices' name and location data.
Default Sort
We'll sort the devices by name.
Designs
We will not be implementing the modal, as Jurny wants to use their own modal. We'll just be focusing on the innards. I want to get y'all's inputs on how we might tie one view to another
Link to figma
Note, we're going to implement infinite scroll, as opposed to pagination.
Properties
Publicly available props for the component:
We'll list out all the devices listed in
deviceIds. IfdeviceIdsis undefined, show all devices.onDeviceRowClickwill allow a user to customize what they do when a user clicks on a device row.Search
Search should look over the devices'
nameandlocationdata.Default Sort
We'll sort the devices by
name.