2019-10-29 07:20:54 +00:00
|
|
|
<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 {
|
2019-11-09 11:42:31 +00:00
|
|
|
border: 0;
|
2019-11-12 04:16:30 +00:00
|
|
|
height: $space-large;
|
2019-10-29 07:20:54 +00:00
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
</style>
|