validate default color

This commit is contained in:
Nitwel
2020-09-10 10:26:17 +02:00
committed by rijkvanzanten
parent d85091c0af
commit 6fedc3abda

View File

@@ -19,6 +19,7 @@ export default defineComponent({
defaultColor: {
type: String,
default: '#B0BEC5',
validator: (value: string) => isHex(value),
},
},
setup(props) {