mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-30 19:36:25 +02:00
16 lines
364 B
TypeScript
16 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>
|
||
|
|
);
|
||
|
|
}
|