mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
30 lines
753 B
Vue
30 lines
753 B
Vue
<script setup>
|
|
import SidebarActionsHeader from './SidebarActionsHeader.vue';
|
|
</script>
|
|
|
|
<template>
|
|
<Story
|
|
title="Components/SidebarActionsHeader"
|
|
:layout="{ type: 'grid', width: '800px' }"
|
|
>
|
|
<!-- Default State -->
|
|
<Variant title="Default State">
|
|
<SidebarActionsHeader title="Default State" />
|
|
</Variant>
|
|
|
|
<!-- With New Conversation Button -->
|
|
<Variant title="With New Conversation Button">
|
|
<!-- eslint-disable-next-line vue/prefer-true-attribute-shorthand -->
|
|
<SidebarActionsHeader
|
|
title="With New Conversation Button"
|
|
:buttons="[
|
|
{
|
|
key: 'new_conversation',
|
|
icon: 'i-lucide-plus',
|
|
},
|
|
]"
|
|
/>
|
|
</Variant>
|
|
</Story>
|
|
</template>
|