Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Commit 00eb7f8

Browse files
committed
Fix indentation (whitespace)
1 parent b54f378 commit 00eb7f8

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

examples/async-data/app.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { getStates, styles, fakeRequest } from '../../lib/utils'
66
class App extends React.Component {
77

88
state = {
9-
value: '',
10-
unitedStates: getStates(),
11-
loading: false
12-
}
9+
value: '',
10+
unitedStates: getStates(),
11+
loading: false
12+
}
1313

1414
render() {
1515
return (

lib/Autocomplete.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -123,30 +123,30 @@ class Autocomplete extends React.Component {
123123
}
124124

125125
static defaultProps = {
126-
value: '',
127-
wrapperProps: {},
128-
wrapperStyle: {
129-
display: 'inline-block'
130-
},
131-
inputProps: {},
132-
onChange() {},
133-
onSelect() {},
134-
renderMenu(items, value, style) {
135-
return <div style={{ ...style, ...this.menuStyle }} children={items}/>
136-
},
137-
menuStyle: {
138-
borderRadius: '3px',
139-
boxShadow: '0 2px 12px rgba(0, 0, 0, 0.1)',
140-
background: 'rgba(255, 255, 255, 0.9)',
141-
padding: '2px 0',
142-
fontSize: '90%',
143-
position: 'fixed',
144-
overflow: 'auto',
145-
maxHeight: '50%', // TODO: don't cheat, let it flow to the bottom
146-
},
147-
autoHighlight: true,
148-
onMenuVisibilityChange() {},
149-
}
126+
value: '',
127+
wrapperProps: {},
128+
wrapperStyle: {
129+
display: 'inline-block'
130+
},
131+
inputProps: {},
132+
onChange() {},
133+
onSelect() {},
134+
renderMenu(items, value, style) {
135+
return <div style={{ ...style, ...this.menuStyle }} children={items}/>
136+
},
137+
menuStyle: {
138+
borderRadius: '3px',
139+
boxShadow: '0 2px 12px rgba(0, 0, 0, 0.1)',
140+
background: 'rgba(255, 255, 255, 0.9)',
141+
padding: '2px 0',
142+
fontSize: '90%',
143+
position: 'fixed',
144+
overflow: 'auto',
145+
maxHeight: '50%', // TODO: don't cheat, let it flow to the bottom
146+
},
147+
autoHighlight: true,
148+
onMenuVisibilityChange() {},
149+
}
150150

151151
constructor(props) {
152152
super(props)

0 commit comments

Comments
 (0)