Unable to select "none" as the Button component's type
jvanja opened this issue · comments
If I select "none" for the Button's type
prop, the selectedStyles
defaults to "primary" classes as:
const selectedStyle = computed(() => styles[props.type] || styles.primary)
evaluates styles['none'] as false as it's an empty string.
Instead, it should return an empty string.