File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ You can find the full example here: [Tailwind Example](https://github.com/steven
24
24
import { EditorContent , EditorRoot } from " novel" ;
25
25
import { useState } from " react" ;
26
26
27
- const Editor = () => {
27
+ const TailwindEditor = () => {
28
28
const [content, setContent] = useState (null );
29
29
return (
30
30
<EditorRoot >
@@ -38,7 +38,7 @@ You can find the full example here: [Tailwind Example](https://github.com/steven
38
38
</EditorRoot >
39
39
);
40
40
};
41
- export default Editor ;
41
+ export default TailwindEditor ;
42
42
```
43
43
<Tip >
44
44
` onUpdate ` runs on every change. In most cases, you will want to debounce the updates to prevent too many state changes.
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " docs" ,
3
+ "version" : " 0.1.0" ,
4
+ "scripts" : {
5
+ "dev" : " mintlify dev --port 3334"
6
+ }
7
+ }
You can’t perform that action at this time.
0 commit comments