mirror of
https://github.com/Drop-OSS/drop-base.git
synced 2026-06-22 04:11:39 +10:00
fix: requiring disabled param
This commit is contained in:
@@ -35,7 +35,7 @@ type Style = "default" | "none";
|
|||||||
const props = defineProps<{
|
const props = defineProps<{
|
||||||
loading: boolean;
|
loading: boolean;
|
||||||
style?: Style;
|
style?: Style;
|
||||||
disabled: boolean;
|
disabled?: boolean;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const style = props.style ?? "default";
|
const style = props.style ?? "default";
|
||||||
|
|||||||
Reference in New Issue
Block a user