evcc-io/assets/js/components/Footer.story.vue
Michael Geers fae7366b31
Better English UI strings, minor cleanups (#5479)
* Better english UI strings, minor cleanups

Co-authored-by: comradekingu <epost@anotheragency.no>

* english translation

* updated target charge strings

Co-authored-by: comradekingu <epost@anotheragency.no>
2022-12-18 11:12:46 +01:00

31 lines
634 B
Vue

<script setup>
import { reactive } from "vue";
import Footer from "./Footer.vue";
const state = reactive({
version: {
installed: "0.401",
available: "0.401",
},
savings: {
selfConsumptionPercent: 88,
},
});
</script>
<template>
<Story>
<Variant title="default">
<Footer v-bind="state" />
</Variant>
<Variant title="update nightly">
<Footer
v-bind="state"
:version="{ installed: '0.400', available: '0.400', commit: '5ce7be4' }"
/>
</Variant>
<Variant title="update availabe">
<Footer v-bind="state" :version="{ installed: '0.400', available: '0.500' }" />
</Variant>
</Story>
</template>