Skip to content

Commit

Permalink
[docs][material-ui][Autocomplete] Improve the options prop descript…
Browse files Browse the repository at this point in the history
…ion (#41591)

Co-authored-by: ZeeshanTamboli <[email protected]>
  • Loading branch information
pluvio72 and ZeeshanTamboli authored Aug 9, 2024
1 parent 193bd6b commit 93cb3d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/translations/api-docs/autocomplete/autocomplete.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"openText": {
"description": "Override the default text for the <em>open popup</em> icon button.<br>For localization purposes, you can use the provided <a href=\"/material-ui/guides/localization/\">translations</a>."
},
"options": { "description": "Array of options." },
"options": { "description": "A list of options that will be shown in the Autocomplete." },
"PaperComponent": { "description": "The component used to render the body of the popup." },
"PopperComponent": { "description": "The component used to position the popup." },
"popupIcon": { "description": "The icon to display in place of the default popup icon." },
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Autocomplete/Autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ Autocomplete.propTypes /* remove-proptypes */ = {
*/
openText: PropTypes.string,
/**
* Array of options.
* A list of options that will be shown in the Autocomplete.
*/
options: PropTypes.array.isRequired,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export interface UseAutocompleteProps<
*/
openOnFocus?: boolean;
/**
* Array of options.
* A list of options that will be shown in the Autocomplete.
*/
options: ReadonlyArray<Value>;
/**
Expand Down

0 comments on commit 93cb3d6

Please sign in to comment.