Skip to content

Commit

Permalink
Revert "removed unused props in dropdownEditor"
Browse files Browse the repository at this point in the history
This reverts commit 2be5cb0.
  • Loading branch information
Gmin2 committed May 29, 2024
1 parent 2be5cb0 commit 67d41dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui/components/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ interface DropdownMenuProps {
items: DropdownMenuItem[]
side?: 'top' | 'right' | 'bottom' | 'left'
align?: 'start' | 'center' | 'end'
onSelect?: (options: string[]) => void
}

interface DropdownMenuItemComponentProps {
Expand All @@ -44,6 +45,7 @@ export const DropdownMenu: FunctionComponent<DropdownMenuProps> = ({
items,
side,
align,
onSelect
}) => {
return (
<RadixDropdownMenu.Root>
Expand Down

0 comments on commit 67d41dd

Please sign in to comment.