import React from 'react'

import type { UnknownConvertedNodeData } from './index'

import './index.scss'

type Props = {
  data: UnknownConvertedNodeData
}

export const UnknownConvertedNodeComponent: React.FC<Props> = (props) => {
  const { data } = props

  return (
    <div>
      Unknown converted payload-plugin-lexical node: <strong>{data?.nodeType}</strong>
    </div>
  )
}
