Size is a string, import react

React gets put in by the JSX transpile
This commit is contained in:
David Baker 2017-05-05 14:56:26 +01:00 committed by Luke Barnard
parent 9337158a47
commit 5e855e6fee
6 changed files with 6 additions and 1 deletions

View file

@ -33,7 +33,7 @@ export default React.createClass({
getDefaultProps: function() {
return {
size: 25,
size: "25",
tooltip: false,
};
},

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import React from 'react';
import sdk from '../../../index';
import PropTypes from 'prop-types';