Remaining UI docs (#2997)
* remaining UI docs * completed ui component docs --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
8
packages/twenty-docs/src/ui/input/blockEditorCode.js
Normal file
8
packages/twenty-docs/src/ui/input/blockEditorCode.js
Normal file
@ -0,0 +1,8 @@
|
||||
import { useBlockNote } from "@blocknote/react";
|
||||
import { BlockEditor } from "@/ui/input/editor/components/BlockEditor";
|
||||
|
||||
export const MyComponent = () => {
|
||||
const BlockNoteEditor = useBlockNote();
|
||||
|
||||
return <BlockEditor editor={BlockNoteEditor} />;
|
||||
};
|
||||
Reference in New Issue
Block a user