Skip to content

Commit

Permalink
docs: apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Nov 12, 2024
1 parent 2734338 commit efe8d52
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/library-authoring/common/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,9 @@ export type LibraryContextData = {
// Current collection
openCollectionInfoSidebar: (collectionId: string, additionalAction?: SidebarAdditionalActions) => void;
// Editor modal - for editing some component
/** If the editor is open and the user is editing some component, this is its usageKey
and the callback function that should be called on closing the editor.
*/
/** If the editor is open and the user is editing some component, this is the component being edited. */
componentBeingEdited: ComponentEditorInfo | undefined;
/** If an onClose callback is provided, it will be called when the editor is closed. */
openComponentEditor: (usageKey: string, onClose?: () => void) => void;
closeComponentEditor: () => void;
resetSidebarAdditionalActions: () => void;
Expand Down

0 comments on commit efe8d52

Please sign in to comment.