Added name and value props to sensor component

This commit is contained in:
Fabio Manganiello 2019-07-02 14:39:04 +02:00
parent 43b01f7c0e
commit 54a3643605

View file

@ -5,9 +5,12 @@ Vue.component('sensor-metric', {
type: Object,
},
device: {
type: Object,
default: () => {},
name: {
type: String,
},
value: {
type: [String, Number, Object, Boolean, Array],
},
},
});