UNPKG

@kwiz/fluentui

Version:

KWIZ common controls for FluentUI

11 lines (10 loc) 418 B
export declare function useEditableControl(): { hasChanges: boolean; hasChangesRef: import("react").MutableRefObject<boolean>; setHasChanges: (newValue: import("react").SetStateAction<boolean>) => Promise<boolean>; onSaveChanges: (worker: () => Promise<{ success: boolean; message?: string; }>) => Promise<void>; editablePageElement: import("react/jsx-runtime").JSX.Element; };