Skip to content

Commit

Permalink
fix(Dropdown): made the titleText optional in propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thamjith committed Oct 23, 2024
1 parent c6ebc2d commit 871c01d
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 @@ -796,7 +796,7 @@ Dropdown.propTypes = {
* Provide the title text that will be read by a screen reader when
* visiting this control
*/
titleText: PropTypes.node.isRequired,
titleText: PropTypes.node,

/**
* Callback function for translating ListBoxMenuIcon SVG title
Expand Down

0 comments on commit 871c01d

Please sign in to comment.