DmnChzl / ReadWrite

Another note-taking application...
Other
0 stars 0 forks source link

ColorPicker: New Component #4

Open DmnChzl opened 9 months ago

DmnChzl commented 9 months ago
<script setup>
import { COLOR } from '@/constants';

defineProps({
  className: {
    type: String,
    default: ''
  }
});

// TODO: defineEmits(['pick']);
</script>

<template>
  <ul :class="className">
    <li v-for="[key, value] in Object.entries(COLOR)" :key="value"></li>
  </ul>
</template>
DmnChzl commented 9 months ago

feature/colorpicker