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

Function Component

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

Source from the content-addressed store, hash-verified

7 * https://github.com/uiwjs/react-codemirror/issues/650
8 */
9export function Component() {
10 const extension = events.content({
11 paste: (event) => {
12 event.preventDefault();
13 },
14 });
15 return (
16 <Fragment>
17 <CodeMirror
18 value={`console.log('hello')`}
19 theme="none"
20 height="400px !important"
21 width="100%"
22 style={{ margin: '0 0 23px 0', flex: 1 }}
23 extensions={[langs.markdown(), extension]}
24 />
25 </Fragment>
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…