Skip to content

Commit 93cb3d6

Browse files
[docs][material-ui][Autocomplete] Improve the options prop description (#41591)
Co-authored-by: ZeeshanTamboli <zeeshan.tamboli@gmail.com>
1 parent 193bd6b commit 93cb3d6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/translations/api-docs/autocomplete/autocomplete.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"openText": {
156156
"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>."
157157
},
158-
"options": { "description": "Array of options." },
158+
"options": { "description": "A list of options that will be shown in the Autocomplete." },
159159
"PaperComponent": { "description": "The component used to render the body of the popup." },
160160
"PopperComponent": { "description": "The component used to position the popup." },
161161
"popupIcon": { "description": "The icon to display in place of the default popup icon." },

packages/mui-material/src/Autocomplete/Autocomplete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ Autocomplete.propTypes /* remove-proptypes */ = {
11131113
*/
11141114
openText: PropTypes.string,
11151115
/**
1116-
* Array of options.
1116+
* A list of options that will be shown in the Autocomplete.
11171117
*/
11181118
options: PropTypes.array.isRequired,
11191119
/**

packages/mui-material/src/useAutocomplete/useAutocomplete.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ export interface UseAutocompleteProps<
281281
*/
282282
openOnFocus?: boolean;
283283
/**
284-
* Array of options.
284+
* A list of options that will be shown in the Autocomplete.
285285
*/
286286
options: ReadonlyArray<Value>;
287287
/**

0 commit comments

Comments
 (0)