Skip to content

Commit

Permalink
[docs] Normalize callback wording
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 11, 2020
1 parent 7ddf7de commit 7fde906
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Chip/Chip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export interface ChipTypeMap<P = {}, D extends React.ElementType = 'div'> {
*/
label?: React.ReactNode;
/**
* Callback function fired when the delete icon is clicked.
* Callback fired when the delete icon is clicked.
* If set, the delete icon will be shown.
*/
onDelete?: React.EventHandler<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Chip/Chip.js
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ Chip.propTypes = {
*/
onClick: PropTypes.func,
/**
* Callback function fired when the delete icon is clicked.
* Callback fired when the delete icon is clicked.
* If set, the delete icon will be shown.
*/
onDelete: PropTypes.func,
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/NativeSelect/NativeSelect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export interface NativeSelectProps
*/
inputProps?: NativeSelectInputProps;
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/NativeSelect/NativeSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ NativeSelect.propTypes = {
*/
inputProps: PropTypes.object,
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/NativeSelect/NativeSelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ NativeSelectInput.propTypes = {
*/
name: PropTypes.string,
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (string).
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Select/Select.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export interface SelectProps
*/
native?: boolean;
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Select/Select.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Select.propTypes = {
*/
native: PropTypes.bool,
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).
Expand Down
2 changes: 1 addition & 1 deletion packages/material-ui/src/Select/SelectInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ SelectInput.propTypes = {
*/
onBlur: PropTypes.func,
/**
* Callback function fired when a menu item is selected.
* Callback fired when a menu item is selected.
*
* @param {object} event The event source of the callback.
* You can pull out the new value by accessing `event.target.value` (any).
Expand Down

0 comments on commit 7fde906

Please sign in to comment.