client: add default props for form link

This commit is contained in:
Johann150 2022-10-04 21:13:22 +02:00
parent 36a0f0c480
commit a79506d895
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -20,16 +20,20 @@
</template>
<script lang="ts" setup>
type Behavior = 'window' | 'browser' | 'modalWindow';
defineProps<{
withDefaults(defineProps<{
to: string;
active?: boolean;
external?: boolean;
behavior?: Behavior;
behavior?: null | Behavior;
inline?: boolean;
}>();
}>(), {
active: false,
external: false,
behavior: null,
inline: false,
});
</script>
<style lang="scss" scoped>