Skip to content

Commit

Permalink
add onclick
Browse files Browse the repository at this point in the history
  • Loading branch information
mkumbobeaty committed Nov 14, 2023
1 parent 2bf6a2e commit d58d587
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/beta/lib/core/StoryPanel/SelectableArea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const SelectableArea: React.FC<Props> = ({
onEditModeToggle,
onSettingsToggle,
onRemove,
onClick,
onPropertyUpdate,
onPropertyItemAdd,
onPropertyItemMove,
Expand All @@ -68,7 +69,7 @@ const SelectableArea: React.FC<Props> = ({
return !isEditable ? (
<>{children}</>
) : (
<Wrapper isSelected={isSelected} noBorder={noBorder}>
<Wrapper isSelected={isSelected} noBorder={noBorder} onClick={onClick}>
<ActionPanel
title={title}
icon={icon}
Expand Down

0 comments on commit d58d587

Please sign in to comment.