feat: color the task color button when the task has a color set #2331
|
@ -6,12 +6,11 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
defineProps({
|
||||
color: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
import type { Color } from 'csstype'
|
||||
|
||||
defineProps< {
|
||||
konrad marked this conversation as resolved
Outdated
|
||||
color: Color,
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
Reference in New Issue
Picky: you could improve types here by using:
Nice one. Done.