2022-06-21 12:07:03 +02:00
|
|
|
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>
|
2022-06-21 12:07:03 +02:00
|
|
|
return <Text>Show embed</Text>
|
2022-03-23 12:01:35 +01:00
|
|
|
}
|