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

Interface ModifiedProps

merge/src/Modified.tsx:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import { useStore } from './store';
6
7export interface ModifiedProps extends Omit<DefaultExtensionsOptions, 'theme'>, Omit<EditorStateConfig, 'doc'> {
8 value?: EditorStateConfig['doc'];
9 extensions?: Extension[];
10 /** Fired whenever a change occurs to the document. */
11 onChange?(value: string, viewUpdate: ViewUpdate): void;
12}
13
14export const Modified = (props: ModifiedProps): JSX.Element | null => {
15 const { extensions = [], value, selection, onChange, ...otherOption } = props;

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…