prism-react-editor
Version:
Lightweight, extensible code editor component for React apps
8 lines (7 loc) • 339 B
TypeScript
import { PrismEditor } from '../types';
import { getIndentGuides } from 'prism-code-editor/guides';
/** Component adding indent guides to an editor. Does not work with word wrap. */
declare const IndentGuides: ({ editor }: {
editor: PrismEditor;
}) => import("react/jsx-runtime").JSX.Element;
export { IndentGuides, getIndentGuides };