2
0
Files
bot/apps/builder/features/chatwoot/components/ChatwootBlockNodeLabel.tsx
Baptiste Arnaud ea84039024 Add Chatwoot livechat integration
Closes #159
2022-11-10 10:53:44 +01:00

14 lines
317 B
TypeScript

import { Text } from '@chakra-ui/react'
import { ChatwootBlock } from 'models'
type Props = {
block: ChatwootBlock
}
export const ChatwootBlockNodeLabel = ({ block }: Props) =>
block.options.websiteToken.length === 0 ? (
<Text color="gray.500">Configure...</Text>
) : (
<Text>Open Chatwoot</Text>
)