Skip to content

Commit feabc4d

Browse files
committed
Migrate rest of src overto createClass pkg
1 parent ace3e08 commit feabc4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AsyncCreatable.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import createClass from 'create-react-class';
23
import Select from './Select';
34

45
function reduce(obj, props = {}){
@@ -10,7 +11,7 @@ function reduce(obj, props = {}){
1011
}, props);
1112
}
1213

13-
const AsyncCreatable = React.createClass({
14+
const AsyncCreatable = createClass({
1415
displayName: 'AsyncCreatableSelect',
1516

1617
focus () {

0 commit comments

Comments
 (0)