MCPcopy Create free account
hub / github.com/uiwjs/react-codemirror / Component

Function Component

www/src/pages/examples/Example455.tsx:17–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15five`;
16
17export function Component() {
18 return (
19 <CodeMirrorMerge style={{ width: 540 }} orientation="b-a" theme={androidstudio}>
20 <Original value={doc} />
21 <Modified
22 value={doc.replace(/t/g, 'T') + 'Six'}
23 extensions={[EditorView.editable.of(false), EditorState.readOnly.of(true)]}
24 />
25 </CodeMirrorMerge>
26 );
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…