File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ npm install @ydb-platform/monaco-ghost monaco-editor
3737
3838The library provides multiple ways to integrate with React applications. Here are the main approaches:
3939
40+ ### React Integration with Hook
41+
4042<details >
4143<summary >React Integration with Hook - Recommended for most use cases</summary >
4244
@@ -111,6 +113,8 @@ function MyCustomEditor() {
111113
112114</details >
113115
116+ ### Direct Instance Creation
117+
114118<details >
115119<summary >Alternative: Direct Instance Creation - For advanced use cases requiring fine-grained control</summary >
116120
@@ -188,6 +192,8 @@ This approach gives you more control over when the ghost instance is created and
188192
189193</details >
190194
195+ ### Pre-built editor component
196+
191197<details >
192198<summary >Using the pre-built editor component - Simplest way to get started</summary >
193199
You can’t perform that action at this time.
0 commit comments