import { AddonTypeSchema } from 'openapi'; import { VFC } from 'react'; import { StyledRaisedSection } from '../IntegrationForm/IntegrationForm.styles'; import { Typography } from '@mui/material'; import { IntegrationIcon } from '../IntegrationList/IntegrationIcon/IntegrationIcon'; import ReactMarkdown from 'react-markdown'; interface IIntegrationHowToSectionProps { provider?: Pick; title?: string; } export const IntegrationHowToSection: VFC = ({ provider, title = 'How does it work?', }) => { if (!provider?.name || !provider?.howTo) return null; return ( ({ display: 'flex', alignItems: 'center', marginBottom: theme.spacing(1), })} > {title} {provider!.howTo || ''} ); };