1
0
mirror of https://github.com/sendevia/website.git synced 2026-03-06 07:40:50 +08:00

feat(button): reorder props for better readability

This commit is contained in:
2025-12-04 23:04:52 +08:00
parent ca49cd7a80
commit 2c3d531363

View File

@@ -1,18 +1,18 @@
<script setup lang="ts">
interface Props {
text?: string;
href?: string;
icon?: string;
size?: "xs" | "s" | "m" | "l" | "xl";
shape?: "round" | "square";
text?: string;
color?: "elevated" | "filled" | "tonal" | "outlined" | "standard" | "text";
shape?: "round" | "square";
size?: "xs" | "s" | "m" | "l" | "xl";
target?: "_blank" | "_self" | "_parent" | "_top";
}
const props = withDefaults(defineProps<Props>(), {
size: "s",
shape: "round",
color: "filled",
shape: "round",
size: "s",
target: "_blank",
});
</script>