2
0

docs(share): 📝 Add code blocks in embed instructions

This commit is contained in:
Baptiste Arnaud
2022-02-10 08:08:58 +01:00
parent c66827b606
commit 276f1c1e90
23 changed files with 1166 additions and 304 deletions

View File

@ -21,6 +21,7 @@ import {
ReactModal,
NotionModal,
IframeModal,
WixModal,
} from './modals'
export type ModalProps = {
@ -82,7 +83,7 @@ export const integrationsList = [
<EmbedButton
logo={<WixLogo height={100} width="90px" />}
label="Wix"
Modal={WebflowModal}
Modal={WixModal}
{...props}
/>
),
@ -128,7 +129,7 @@ export const integrationsList = [
),
(props: Pick<ModalProps, 'publicId' | 'isPublished'>) => (
<EmbedButton
logo={<IframeLogo height={100} width={80} />}
logo={<IframeLogo height={100} width="70px" />}
label="Iframe"
Modal={IframeModal}
{...props}
@ -136,7 +137,7 @@ export const integrationsList = [
),
(props: Pick<ModalProps, 'publicId' | 'isPublished'>) => (
<EmbedButton
logo={<OtherLogo height={100} width={80} />}
logo={<OtherLogo height={100} width="70px" />}
label="Other"
Modal={JavascriptModal}
{...props}