storybook-addon-playground
Version:
A playground to enable consumers learn how to use the component library or to reproduce bugs
11 lines • 407 B
TypeScript
import { EditorState } from "@uiw/react-codemirror";
interface EditorStateInfo {
cursorPos: number;
fullLineText: string;
lineTextUpToCursor: string;
lineTextAfterCursor: string;
}
export declare function parseTagFromLineText(lineText: string): string;
export declare function getEditorStateInfo(state: EditorState): EditorStateInfo;
export {};
//# sourceMappingURL=extensions-utils.d.ts.map