chore: improve types
This commit is contained in:
parent
2683fec0a6
commit
6d9c4a7aa0
1 changed files with 5 additions and 6 deletions
|
@ -6,12 +6,11 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
defineProps({
|
import type { Color } from 'csstype'
|
||||||
color: {
|
|
||||||
type: String,
|
defineProps< {
|
||||||
required: true,
|
color: Color,
|
||||||
},
|
}>()
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|
Loading…
Reference in a new issue