mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-06 14:08:10 +00:00
29 lines
788 B
Vue
29 lines
788 B
Vue
<script setup>
|
|
import ResponseCard from './ResponseCard.vue';
|
|
import { responsesList } from 'dashboard/components-next/captain/pageComponents/emptyStates/captainEmptyStateContent.js';
|
|
</script>
|
|
|
|
<template>
|
|
<Story
|
|
title="Captain/Assistant/ResponseCard"
|
|
:layout="{ type: 'grid', width: '700px' }"
|
|
>
|
|
<Variant title="Article Card">
|
|
<div
|
|
v-for="(response, index) in responsesList"
|
|
:key="index"
|
|
class="px-20 py-4 bg-n-background"
|
|
>
|
|
<ResponseCard
|
|
:id="response.id"
|
|
:question="response.question"
|
|
:answer="response.answer"
|
|
:status="response.status"
|
|
:assistant="response.assistant"
|
|
:created-at="response.created_at"
|
|
/>
|
|
</div>
|
|
</Variant>
|
|
</Story>
|
|
</template>
|