UNPKG

@nexusui/components

Version:

These are custom components specially-developed for NexusUI applications. They will make your life easier by giving you out-of-the-box implementations for various high-level UI elements that you can drop directly into your application.

2 lines (1 loc) 612 B
import{MentionNode as r}from"./nodes/MentionNode.js";import{AutoLinkNode as o,LinkNode as e}from"@lexical/link";const a={"& .NexusRichTextMentionNode-mention":{color:"primary.main"},"& .NexusRichText-paragraph":{marginBlockStart:"0px",marginBlockEnd:"0px",fontSize:"12px",lineHeight:"16px"},"& a":{color:"primary.main",textDecorationColor:r=>`rgba(${r.vars.palette.primary.mainChannel} / 0.4)`,cursor:"pointer","&:hover":{textDecorationColor:"primary.main"}}},n={onError:function(r){console.error(r)},nodes:[r,o,e],theme:{paragraph:"NexusRichText-paragraph"}};export{n as sharedEditorConfig,a as sharedSxProps};