2
0

📝 (embed) Add new script embed instructions

This commit is contained in:
Baptiste Arnaud
2023-02-25 10:16:57 +01:00
parent 8034ceeede
commit 2b2b1c3d6d
8 changed files with 211 additions and 0 deletions

View File

@ -24,6 +24,8 @@ import {
WixModal,
} from './modals'
import { OtherModal } from './modals/OtherModal'
import { ScriptIcon } from '@/features/blocks/logic/script'
import { ScriptModal } from './modals/Script/ScriptModal'
export type ModalProps = {
publicId: string
@ -112,6 +114,14 @@ export const integrationsList = [
{...props}
/>
),
(props: Pick<ModalProps, 'publicId' | 'isPublished'>) => (
<EmbedButton
logo={<ScriptIcon height={100} width="70px" color="gray.300" />}
label="Script"
Modal={ScriptModal}
{...props}
/>
),
(props: Pick<ModalProps, 'publicId' | 'isPublished'>) => (
<EmbedButton
logo={<NotionLogo height={100} width="60px" />}