primevue-mirror/apps/showcase/doc/forms/dynamic/DynamicFormSubmit.vue

19 lines
307 B
Vue

<template>
<Button type="submit" :severity :label />
</template>
<script setup>
import Button from 'primevue/button';
const props = defineProps({
severity: {
type: String,
default: 'secondary'
},
label: {
type: String,
default: 'Submit'
}
});
</script>