Skip to content

Commit

Permalink
docs(dropdownmenu): add @deprecated in the comment to encourage users…
Browse files Browse the repository at this point in the history
… to upgrade to the new type
  • Loading branch information
masoudmanson committed Nov 22, 2023
1 parent 77342c6 commit 2eedff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/core/DropdownMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import {
} from "./style";

/**
* @deprecated
* (masoudmanson): We've replaced DefaultDropdownMenuOption with DefaultAutocompleteOption
* as the preferred choice. However, for backward compatibility, we've exported this line to
* prevent potential TypeScript type issues for product teams using previous versions.
*/

export type DefaultDropdownMenuOption = DefaultAutocompleteOption;

// (masoudmanson): Represents the minimum width defined by design specifications
Expand Down

0 comments on commit 2eedff7

Please sign in to comment.