@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
9 lines (8 loc) • 344 B
TypeScript
import { EditorFocusOptions } from 'lexical/LexicalEditor';
export declare function useActions(): {
handleClear: () => void;
handleEditable: (isEditable: boolean) => void;
initiateValue: (defaultValue: string) => void;
getValue: () => string;
handleFocus: (callbackFn?: () => void, options?: EditorFocusOptions) => void;
};