import type { TElement, TText, TDescendant } from '@udecode/plate-common' import { PlateText, PlateTextProps } from './PlateText' import { For, JSXElement, Match, Switch } from 'solid-js' import { isDefined } from '@indite.io/lib/utils' type Props = { element: TElement | TText isUniqueChild?: boolean insideInlineVariable?: boolean } export const PlateElement = (props: Props) => ( {(child) => ( )}
    {(child) => ( )}
    {(child) => ( )}
  • {(child) => ( )}
  • {(child) => ( )}
    ) type ElementRootProps = { element: TElement children: JSXElement insideInlineVariable?: boolean } const ElementRoot = (props: ElementRootProps) => { return ( {props.children}
    {props.children}
    ) }