mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
37 lines
686 B
Vue
Executable File
37 lines
686 B
Vue
Executable File
<script>
|
|
import Spinner from 'shared/components/Spinner.vue';
|
|
import FluentIcon from 'shared/components/FluentIcon/Index.vue';
|
|
|
|
export default {
|
|
components: {
|
|
FluentIcon,
|
|
Spinner,
|
|
},
|
|
props: {
|
|
loading: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
disabled: {
|
|
type: Boolean,
|
|
default: false,
|
|
},
|
|
color: {
|
|
type: String,
|
|
default: '#6e6f73',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<button
|
|
type="submit"
|
|
:disabled="disabled"
|
|
class="icon-button flex items-center justify-center ml-1"
|
|
>
|
|
<FluentIcon v-if="!loading" icon="send" :style="`color: ${color}`" />
|
|
<Spinner v-else size="small" />
|
|
</button>
|
|
</template>
|