(embed) Add size and icon picker in bubble settings (#508)

This commit is contained in:
Baptiste Arnaud
2023-05-15 15:22:04 +02:00
committed by GitHub
parent 123926f273
commit 0f91b34497
15 changed files with 256 additions and 108 deletions

View File

@@ -64,7 +64,7 @@ export const MetadataForm = ({
filePath={`typebots/${typebotId}/favIcon`}
defaultUrl={metadata.favIconUrl ?? ''}
onSubmit={handleFavIconSubmit}
isGiphyEnabled={false}
excludedTabs={['giphy', 'unsplash', 'emoji']}
imageSize="thumb"
/>
</PopoverContent>
@@ -90,7 +90,7 @@ export const MetadataForm = ({
filePath={`typebots/${typebotId}/ogImage`}
defaultUrl={metadata.imageUrl}
onSubmit={handleImageSubmit}
isGiphyEnabled={false}
excludedTabs={['giphy', 'icon', 'emoji']}
/>
</PopoverContent>
</Popover>