import type { RichTextProps } from '@hilemangroup/bp-email-base'; import { RichText, truthyJoin } from '@hilemangroup/bp-email-base'; import type { ComponentPropsWithoutRef, CSSProperties, ReactNode } from 'react'; import React from 'react'; import checkMktoElementHasId from '../util/checkMktoElementHasId'; export interface MktoTextProps extends RichTextProps { id: string; mktoName: string; className?: string; attr?: ComponentPropsWithoutRef<'div'>; style?: CSSProperties; } const MktoText = ({ id, mktoName, className, attr = {}, style = {}, ...props }: MktoTextProps): ReactNode => { checkMktoElementHasId('MktoText', { id, mktoName }); return ( ); }; export default MktoText;