Fixed basic demo in metergroup

pull/5507/head
Cagatay Civici 2024-04-01 11:46:59 +03:00
parent 9fd2a715b7
commit 0d5ced3869
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ export default {
.p-metergroup-meters {
display: flex;
background: ${dt('metergroup.meters.background.color')};
background: ${dt('metergroup.meters.background')};
border-radius: ${dt('rounded.base')};
}

View File

@ -12,7 +12,7 @@
export default {
data() {
return {
value: [{ label: 'Space used', value: 15 }],
value: [{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }],
code: {
basic: `
<MeterGroup :value="value" />
@ -28,7 +28,7 @@ export default {
export default {
data() {
return {
value: [{ label: 'Space used', value: 15 }],
value: [{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }],
};
}
};
@ -44,7 +44,7 @@ export default {
<script setup>
import { ref } from "vue";
const value = ref([{ label: 'Space used', value: 15 }]);
const value = ref([{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }]);
<\/script>
`
}