UNPKG

@uiw/react-md-editor

Version:

A markdown editor with preview, implemented with React.js and TypeScript.

3 lines (2 loc) 128 B
import { TextRange } from '../commands'; export default function getSurroundingWord(text: string, position: number): TextRange;