UNPKG

@atlaskit/inline-edit

Version:

An inline edit displays a custom input component that switches between reading and editing on the same page.

8 lines (7 loc) 349 B
declare const useButtonFocusHook: (isEditing: boolean | undefined, isEditingState: boolean) => { editButtonRef: import('react').RefObject<HTMLButtonElement>; editViewRef: import('react').MutableRefObject<HTMLElement | undefined>; shouldBeEditing: boolean; doNotFocusOnEditButton: () => boolean; }; export default useButtonFocusHook;