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

File index.tsx

core/src/index.tsx  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import React, { useRef, forwardRef, useImperativeHandle, useCallback } from 'react';
2import type { EditorState, EditorStateConfig, Extension, StateField } from '@codemirror/state';
3import type { EditorView, ViewUpdate } from '@codemirror/view';
4import { type BasicSetupOptions } from '@uiw/codemirror-extensions-basic-setup';

Callers

nothing calls this directly

Calls 1

useCodeMirrorFunction · 0.90

Tested by

no test coverage detected