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
1 changed files with 6 additions and 3 deletions

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],
},
},
});