All files / components/block-renderer/blocks text.tsx

75% Statements 3/4
50% Branches 1/2
100% Functions 1/1
100% Lines 3/3

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9        2x 2x 2x    
import { type TextProps } from "@/types";
import  RenderMarkdown  from "@/components/custom/RenderMarkdown";
 
export function Text(data: Readonly<TextProps>) {
  Iif (!data) return null;
  console.log(data, "data");
  return <RenderMarkdown content={data.content} />;
}