2
0
Files
bot/apps/builder/src/features/blocks/bubbles/embed/components/EmbedBubbleContent.tsx

8 lines
279 B
TypeScript
Raw Normal View History

import { Text } from '@chakra-ui/react'
2022-06-11 07:27:38 +02:00
import { EmbedBubbleBlock } from 'models'
2022-03-23 12:01:35 +01:00
2022-06-11 07:27:38 +02:00
export const EmbedBubbleContent = ({ block }: { block: EmbedBubbleBlock }) => {
if (!block.content?.url) return <Text color="gray.500">Click to edit...</Text>
return <Text>Show embed</Text>
2022-03-23 12:01:35 +01:00
}