fix: requiring disabled param

This commit is contained in:
DecDuck
2025-01-28 15:56:20 +11:00
parent b7127c645d
commit 533eb483ea

View File

@ -35,7 +35,7 @@ type Style = "default" | "none";
const props = defineProps<{
loading: boolean;
style?: Style;
disabled: boolean;
disabled?: boolean;
}>();
const style = props.style ?? "default";