SurfSense/surfsense_web/components/ui/paragraph-node-static.tsx

15 lines
364 B
TypeScript

import * as React from 'react';
import type { SlateElementProps } from 'platejs/static';
import { SlateElement } from 'platejs/static';
import { cn } from '@/lib/utils';
export function ParagraphElementStatic(props: SlateElementProps) {
return (
<SlateElement {...props} className={cn('m-0 px-0 py-1')}>
{props.children}
</SlateElement>
);
}