Skip to content

Commit ec53f0b

Browse files
authored
Update Select.js
Replace whitespaces with tabs and vice versa for consistency reasons
1 parent 07dc061 commit ec53f0b

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/Select.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ const Select = createClass({
4848

4949
propTypes: {
5050
addLabelText: PropTypes.string, // placeholder displayed when you want to add a label on a multi-value input
51-
'aria-describedby': PropTypes.string, // HTML ID(s) of element(s) that should be used to describe this input (for assistive tech)
51+
'aria-describedby': PropTypes.string, // HTML ID(s) of element(s) that should be used to describe this input (for assistive tech)
5252
'aria-label': PropTypes.string, // Aria label (for assistive tech)
53-
'aria-labelledby': PropTypes.string, // HTML ID of an element that should be used as the label (for assistive tech)
54-
arrowRenderer: PropTypes.func, // Create drop-down caret element
53+
'aria-labelledby': PropTypes.string, // HTML ID of an element that should be used as the label (for assistive tech)
54+
arrowRenderer: PropTypes.func, // Create drop-down caret element
5555
autoBlur: PropTypes.bool, // automatically blur the component when an option is selected
5656
autofocus: PropTypes.bool, // autofocus the component on mount
5757
autosize: PropTypes.bool, // whether to enable autosizing or not
5858
backspaceRemoves: PropTypes.bool, // whether backspace removes an item if there is no text input
5959
backspaceToRemoveMessage: PropTypes.string, // Message to use for screenreaders to press backspace to remove the current item - {label} is replaced with the item label
6060
className: PropTypes.string, // className for the outer element
61-
clearAllText: stringOrNode, // title for the "clear" control when multi: true
61+
clearAllText: stringOrNode, // title for the "clear" control when multi: true
6262
clearRenderer: PropTypes.func, // create clearable x element
63-
clearValueText: stringOrNode, // title for the "clear" control
63+
clearValueText: stringOrNode, // title for the "clear" control
6464
clearable: PropTypes.bool, // should it be possible to reset value
6565
deleteRemoves: PropTypes.bool, // whether backspace removes an item if there is no text input
6666
delimiter: PropTypes.string, // delimiter to use to join multiple values for the hidden field value
@@ -84,12 +84,12 @@ const Select = createClass({
8484
menuStyle: PropTypes.object, // optional style to apply to the menu
8585
multi: PropTypes.bool, // multi-value input
8686
name: PropTypes.string, // generates a hidden <input /> tag with this field name for html forms
87-
noResultsText: stringOrNode, // placeholder displayed when there are no matching search results
87+
noResultsText: stringOrNode, // placeholder displayed when there are no matching search results
8888
onBlur: PropTypes.func, // onBlur handler: function (event) {}
8989
onBlurResetsInput: PropTypes.bool, // whether input is cleared on blur
9090
onChange: PropTypes.func, // onChange handler: function (newValue) {}
9191
onClose: PropTypes.func, // fires when the menu is closed
92-
onCloseResetsInput: PropTypes.bool, // whether input is cleared when menu is closed through the arrow
92+
onCloseResetsInput: PropTypes.bool, // whether input is cleared when menu is closed through the arrow
9393
onFocus: PropTypes.func, // onFocus handler: function (event) {}
9494
onInputChange: PropTypes.func, // onInputChange handler: function (inputValue) {}
9595
onInputKeyDown: PropTypes.func, // input keyDown handler: function (event) {}
@@ -103,7 +103,7 @@ const Select = createClass({
103103
optionRenderer: PropTypes.func, // optionRenderer: function (option) {}
104104
options: PropTypes.array, // array of options
105105
pageSize: PropTypes.number, // number of entries to page when using page up/down keys
106-
placeholder: stringOrNode, // field placeholder, displayed when there's no value
106+
placeholder: stringOrNode, // field placeholder, displayed when there's no value
107107
required: PropTypes.bool, // applies HTML5 required attribute when needed
108108
resetValue: PropTypes.any, // value to use when you clear the control
109109
scrollMenuIntoView: PropTypes.bool, // boolean to enable the viewport to shift so that the full menu fully visible when engaged
@@ -922,7 +922,7 @@ const Select = createClass({
922922

923923
renderArrow () {
924924
const onMouseDown = this.handleMouseDownOnArrow;
925-
const isOpen = this.state.isOpen;
925+
const isOpen = this.state.isOpen;
926926
const arrow = this.props.arrowRenderer({ onMouseDown, isOpen });
927927

928928
return (

0 commit comments

Comments
 (0)