storybook-addon-playground
Version:
A playground to enable consumers learn how to use the component library or to reproduce bugs
6 lines • 513 B
TypeScript
export declare function getNewTagContext(textUpToCursor: string): string;
export declare function isInsideOpenTag(fullLineText: string, cursorPos: number): boolean;
export declare function isInsideAttribute(fullLineText: string, cursorPos: number): boolean;
export declare function shouldTriggerPropSuggestions(fullLineText: string, cursorPos: number): boolean;
export declare function extractAlreadyUsedProps(fullLineText: string, cursorPos: number): Set<string>;
//# sourceMappingURL=autocomplete-utils.d.ts.map