Closed AbdallahAlhaddad closed 1 year ago
If we use withDefaults
it will be determined correctly
const { color, text } = withDefaults(defineProps<TooltipProps>(), {
color: 'primary',
})
With the new props destructuring, is it possible to update to still determine the default value without needing withDefaults
?
Feature description:
Demo Code:
Api Response: