diff --git a/examples/App.js b/examples/App.js index 541296e967..32087a0881 100644 --- a/examples/App.js +++ b/examples/App.js @@ -1,7 +1,7 @@ import React from 'react'; import ReactDOM, { findDOMNode } from 'react-dom'; import Button from 'react-bootstrap/lib/Button'; -import Playground from '@monastic.panic/component-playground'; +import Playground from '@monastic.panic/component-playground/Playground'; import PropTable from './PropTable'; @@ -26,7 +26,7 @@ import getOffset from 'dom-helpers/query/offset'; import './styles.less'; import injectCss from './injectCss'; -let scope = { +const scope = { React, ReactDOM, findDOMNode, Button, injectCss, ...ReactOverlays, getOffset }; diff --git a/package.json b/package.json index b3547a7db3..ae576ff072 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "react-dom": ">=0.14.0" }, "devDependencies": { - "@monastic.panic/component-playground": "jquense/component-playground", + "@monastic.panic/component-playground": "^2.0.0", "babel": "^5.8.38", "babel-core": "^5.8.38", "babel-eslint": "^6.1.0",