Skip to content

Commit 5e1861b

Browse files
committed
update readme
1 parent 04c7060 commit 5e1861b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ See our homepage @ [https://www.blocknotejs.org](https://www.blocknotejs.org/) o
3434
[![npm version](https://badge.fury.io/js/%40blocknote%2Freact.svg)](https://badge.fury.io/js/%40blocknote%2Freact)
3535

3636
```typescript
37-
import { BlockNoteView, useCreateBlockNote } from "@blocknote/react";
37+
import { useCreateBlockNote } from "@blocknote/react";
38+
import { BlockNoteView } from "@blocknote/mantine";
3839
import "@blocknote/core/fonts/inter.css";
39-
import "@blocknote/react/style.css";
40+
import "@blocknote/mantine/style.css";
4041

4142
function App() {
4243
const editor = useCreateBlockNote();
@@ -95,6 +96,9 @@ Directory structure:
9596
blocknote
9697
├── packages/core - The core of the editor
9798
├── packages/react - The main library for use in React apps
99+
├── packages/mantine - Mantine (default) implementation of BlockNote UI
100+
├── packages/ariakit - AriaKit implementation of BlockNote UI
101+
├── packages/shadcn - ShadCN / Tailwind / Radix implementation of BlockNote UI
98102
├── examples - Example apps
99103
├── playground - App to browse the example apps (https://playground.blocknotejs.org)
100104
└── tests - Playwright end to end tests

0 commit comments

Comments
 (0)