mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-03-11 15:03:55 +00:00
ok
This commit is contained in:
parent
e96ca69f35
commit
6596b9ccdd
28
web/src/components/ChatBarButton.vue
Normal file
28
web/src/components/ChatBarButton.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<button
|
||||
class="p-2 rounded-full transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"
|
||||
:class="[
|
||||
buttonClass,
|
||||
'hover:bg-gray-200 dark:hover:bg-gray-700',
|
||||
'active:bg-gray-300 dark:active:bg-gray-600'
|
||||
]"
|
||||
v-bind="$attrs"
|
||||
v-on="$listeners"
|
||||
>
|
||||
<slot name="icon"></slot>
|
||||
<slot></slot>
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'ChatBarButton',
|
||||
props: {
|
||||
buttonClass: {
|
||||
type: String,
|
||||
default: 'text-gray-600 dark:text-gray-300'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user