import React from 'react'; import type { SlateRenderElementProps } from '@udecode/plate'; import type { TIndentElement } from '@udecode/plate-indent'; export const FireMarker = ( props: Omit, ) => { const { element } = props; return (
{(element as TIndentElement).indent % 2 === 0 ? '🔥' : '🚀'}
); }; export const FireLiComponent = (props: SlateRenderElementProps) => { const { children } = props; return
  • {children}
  • ; };