📝 (embed) Add new script embed instructions
This commit is contained in:
@ -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" />}
|
||||
|
Reference in New Issue
Block a user