Skip to content

Commit

Permalink
fix(Dropdown): made the titleText required
Browse files Browse the repository at this point in the history
  • Loading branch information
Thamjith committed Oct 25, 2024
1 parent 1f5c1e2 commit 0a5b744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export interface DropdownProps<ItemType>
* Provide the title text that will be read by a screen reader when
* visiting this control
*/
titleText?: ReactNode;
titleText: ReactNode;

/**
* The dropdown type, `default` or `inline`
Expand Down

0 comments on commit 0a5b744

Please sign in to comment.