mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
15 lines
360 B
TypeScript
15 lines
360 B
TypeScript
"use client";
|
|
|
|
import type { PlateElementProps } from "platejs/react";
|
|
import { PlateElement } from "platejs/react";
|
|
import * as React from "react";
|
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export function ParagraphElement(props: PlateElementProps) {
|
|
return (
|
|
<PlateElement {...props} className={cn("m-0 px-0 py-1")}>
|
|
{props.children}
|
|
</PlateElement>
|
|
);
|
|
}
|