Components

ThingTile

<ThingTile url />

Constructor

# <ThingTile url />

This component is just a container used to hold any sensor item with a SingleTimeSeriesItem. or with a MultipleTimeSeriesItem. It is responsible for retrieving the Thing desription of the elements within a Space using the URI supplied for that element by the parent Space. As a component, it helps in displaying the current value of any element as well as the history of the element as a time series.

It helps to display a SingleTimeSeries for single-property Things as well or a MultipleTimeSeries for multiple-property Things.

PropTypes:
Name Type Required Description Default
url string Yes The endpoint to fetch the Thind description from. This is used to fetch the URI for the current value of each property of a Thing or sensor as well as the time series or history of each property of the Thing.
See:
  • TachometerItem for an example of a sensor item that can be held inside the ThingTile.

View Source components/dashboard/ThingTile.jsx, line 45

<ThingTile />