Updated react-lifecycles-compat example to show 2.0 named export

This commit is contained in:
Brian Vaughn
2018-04-03 10:33:37 -07:00
parent 17efddc63d
commit ec718a33ee

View File

@@ -1,6 +1,6 @@
import React from 'react';
// highlight-next-line
import polyfill from 'react-lifecycles-compat';
import {polyfill} from 'react-lifecycles-compat';
class ExampleComponent extends React.Component {
// highlight-next-line