Kocal-Web-Extensions/Solary

View on GitHub
src/options/components/Settings.vue

Summary

Maintainability
Test Coverage
<template>
  <div>
    <settings-section v-for="(setting, name) in settings" :key="name" :name="name" :setting="setting" />
  </div>
</template>

<script>
import SettingsSection from './Settings/SettingsSection';

export default {
  name: 'Settings',
  components: { SettingsSection },
  props: {
    settings: {
      type: Object,
      required: true,
    },
  },
};
</script>