Skip to content

Commit

Permalink
Fix missing import in Provider/HOC example
Browse files Browse the repository at this point in the history
#241

Co-authored-by: Chirag Jain <chirgjn@users.noreply.github.com>
  • Loading branch information
chirgjn authored and fusionjs-bot[bot] committed Apr 18, 2019
1 parent 5f3ec8f commit 28a1dfe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -392,6 +392,7 @@ import {Plugin} from './plugins/my-plugin.js';
app.register(Plugin);

// in components/some-component.js
import {HOC} from '../plugins/my-plugin.js';
const component = ({console}) => {
return <button onClick={() => console.log('hello')}>Click me</button>;
};
Expand Down

0 comments on commit 28a1dfe

Please sign in to comment.