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