From 0856c6f7ffa8433feb6d73d7a34bce66f7ff8597 Mon Sep 17 00:00:00 2001 From: felixfeng33 Date: Tue, 1 Oct 2024 02:03:12 +0000 Subject: [PATCH] docs --- apps/www/public/r/styles/default/paragraph-element.json | 2 +- yarn.lock | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/www/public/r/styles/default/paragraph-element.json b/apps/www/public/r/styles/default/paragraph-element.json index 753c1f8176..0f796c8209 100644 --- a/apps/www/public/r/styles/default/paragraph-element.json +++ b/apps/www/public/r/styles/default/paragraph-element.json @@ -1,7 +1,7 @@ { "files": [ { - "content": "import { cn } from '@udecode/cn';\nimport { withRef } from '@udecode/plate-common/react';\n\nimport { PlateElement } from './plate-element';\n\nexport const ParagraphElement = withRef(\n ({ children, className, ...props }, ref) => {\n return (\n \n {children}\n \n );\n }\n);\n", + "content": "import React from 'react';\n\nimport { cn } from '@udecode/cn';\nimport { withRef } from '@udecode/plate-common/react';\n\nimport { PlateElement } from './plate-element';\n\nexport const ParagraphElement = withRef(\n ({ children, className, ...props }, ref) => {\n return (\n \n {children}\n \n );\n }\n);\n", "path": "plate-ui/paragraph-element.tsx", "target": "", "type": "registry:ui" diff --git a/yarn.lock b/yarn.lock index 5e59565ddb..1789e7f269 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3145,7 +3145,7 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-compose-refs@npm:1.1.0, @radix-ui/react-compose-refs@npm:^1.1.0": +"@radix-ui/react-compose-refs@npm:1.1.0": version: 1.1.0 resolution: "@radix-ui/react-compose-refs@npm:1.1.0" peerDependencies: @@ -6966,7 +6966,6 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/react-utils@workspace:packages/react-utils" dependencies: - "@radix-ui/react-compose-refs": "npm:^1.1.0" "@radix-ui/react-slot": "npm:^1.1.0" "@udecode/utils": "npm:37.0.0" clsx: "npm:^2.1.1"