| 1 | import { type SlateElementProps, SlateElement } from "platejs/static"; |
| 2 | |
| 3 | import { cn } from "@/lib/utils"; |
| 4 | |
| 5 | export function PresentationElementStatic(props: SlateElementProps) { |
| 6 | return ( |
| 7 | <SlateElement |
| 8 | {...props} |
| 9 | className={cn( |
| 10 | "relative transition-all duration-300 select-text!", |
| 11 | props.className, |
| 12 | )} |
| 13 | > |
| 14 | {props.children} |
| 15 | </SlateElement> |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | |
| 20 |