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

19 lines
307 B
Vue
Raw Normal View History

2024-10-23 04:05:27 +00:00
<template>
<Button type="submit" :severity :label />
</template>
2024-10-23 21:57:52 +00:00
<script setup>
import Button from 'primevue/button';
const props = defineProps({
severity: {
type: String,
default: 'secondary'
},
label: {
type: String,
default: 'Submit'
2024-10-23 04:05:27 +00:00
}
2024-10-23 21:57:52 +00:00
});
2024-10-23 04:05:27 +00:00
</script>