diff --git a/templates/jsx/battery-soc/battery-soc-example.jsx b/templates/jsx/battery-soc/battery-soc-example.jsx new file mode 100644 index 0000000..e63953f --- /dev/null +++ b/templates/jsx/battery-soc/battery-soc-example.jsx @@ -0,0 +1,18 @@ +--- +label: battery-soc voorbeeld +description: Batterij laadstatus met laadvermogen +type: battery-soc +author: maik +--- + +import React from 'react'; + +export default function BatterySocTemplate({ data }) { + const soc = data?.soc ?? 0; + return ( +