Skip to content

Commit

Permalink
missing trigger prop
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Aug 17, 2022
1 parent b799385 commit 5920999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const SqlEditorTabHeader: React.FC<Props> = ({ queryEditor }) => {
return (
<TabTitleWrapper>
<Dropdown
trigger={['click']}
overlay={
<Menu style={{ width: 176 }}>
<Menu.Item
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/components/Dropdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const MenuDotsWrapper = styled.div`
padding-left: ${({ theme }) => theme.gridUnit}px;
`;

export interface DropdownProps {
export interface DropdownProps extends DropDownProps {
overlay: React.ReactElement;
}

Expand Down

0 comments on commit 5920999

Please sign in to comment.