@papernote/ui
Version:
A modern React component library with a paper notebook aesthetic - minimal, professional, and expressive
29 lines • 911 B
TypeScript
import React from 'react';
export interface FormulaAutocompleteProps {
/** Current input value */
value: string;
/** Callback when value changes */
onChange: (value: string) => void;
/** Callback when editing is complete */
onComplete: () => void;
/** Callback to cancel editing */
onCancel: () => void;
/** Position for the dropdown */
anchorRect: DOMRect | null;
/** Auto focus the input */
autoFocus?: boolean;
/** Custom class name */
className?: string;
}
/**
* FormulaAutocomplete - Input with formula intellisense
*
* Features:
* - Autocomplete dropdown when typing after '='
* - Function signature hints while typing parameters
* - Category-based browsing
* - Keyboard navigation
*/
declare const FormulaAutocomplete: React.FC<FormulaAutocompleteProps>;
export default FormulaAutocomplete;
//# sourceMappingURL=FormulaAutocomplete.d.ts.map