28 lines
508 B
Vue
Executable file
28 lines
508 B
Vue
Executable file
<template>
|
|
<textarea
|
|
class="form-input user-message-input"
|
|
:placeholder="placeholder"
|
|
:value="value"
|
|
@input="$emit('input', $event.target.value)"
|
|
/>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
placeholder: String,
|
|
value: String,
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style scoped lang="scss">
|
|
@import '~widget/assets/scss/variables.scss';
|
|
|
|
.user-message-input {
|
|
border: 0;
|
|
height: $space-big;
|
|
resize: none;
|
|
}
|
|
</style>
|