import React, { createContext } from 'react'
import type { RichTextProps } from '.'

export default createContext<React.FC<RichTextProps>>(() => {
  console.warn(
    'consuming RichText context without RichText component provided, skipping rendering'
  )
  return <></>
})
