You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
703 B
38 lines
703 B
<template>
|
|
<div class="p-inputgroup">
|
|
<InputText :name="inputName" :placeholder="inputPlaceholder" type="text" />
|
|
<BaseButton
|
|
:icon="buttonIcon"
|
|
:label="buttonLabel"
|
|
is-submit
|
|
type="primary"
|
|
@click="$emit('button-click', $event)"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import InputText from "primevue/inputtext";
|
|
import BaseButton from "./BaseButton.vue";
|
|
|
|
defineProps({
|
|
inputName: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
inputPlaceholder: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
buttonLabel: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
buttonIcon: {
|
|
type: String,
|
|
required: true,
|
|
}
|
|
});
|
|
|
|
defineEmits(["button-click"]);
|
|
</script>
|
|
|