diff --git a/plugin-api/beta/client/components/index.js b/plugin-api/beta/client/components/index.js new file mode 100644 index 000000000..5d76732fc --- /dev/null +++ b/plugin-api/beta/client/components/index.js @@ -0,0 +1 @@ +export {Slot} from 'coral-framework/components'; diff --git a/plugin-api/beta/client/hocs/index.js b/plugin-api/beta/client/hocs/index.js new file mode 100644 index 000000000..7ec875656 --- /dev/null +++ b/plugin-api/beta/client/hocs/index.js @@ -0,0 +1 @@ +export {withReaction} from 'coral-framework/hocs'; diff --git a/plugin-api/client/components/index.js b/plugin-api/client/components/index.js index 5d76732fc..e69de29bb 100644 --- a/plugin-api/client/components/index.js +++ b/plugin-api/client/components/index.js @@ -1 +0,0 @@ -export {Slot} from 'coral-framework/components'; diff --git a/plugin-api/client/hocs/index.js b/plugin-api/client/hocs/index.js index 7ec875656..e69de29bb 100644 --- a/plugin-api/client/hocs/index.js +++ b/plugin-api/client/hocs/index.js @@ -1 +0,0 @@ -export {withReaction} from 'coral-framework/hocs'; diff --git a/plugins/coral-plugin-love/client/LoveButton.js b/plugins/coral-plugin-love/client/LoveButton.js index 430e2658d..4e9b56d44 100644 --- a/plugins/coral-plugin-love/client/LoveButton.js +++ b/plugins/coral-plugin-love/client/LoveButton.js @@ -2,7 +2,7 @@ import React from 'react'; import {Icon} from 'coral-ui'; import styles from './styles.css'; import t from 'coral-framework/services/i18n'; -import {withReaction} from 'coral-plugin-api'; +import {withReaction} from 'plugin-api/beta/client/hocs'; class LoveButton extends React.Component { handleClick = () => { diff --git a/plugins/coral-plugin-viewing-options/client/components/ViewingOptions.js b/plugins/coral-plugin-viewing-options/client/components/ViewingOptions.js index 9a562dac2..120ae99fd 100644 --- a/plugins/coral-plugin-viewing-options/client/components/ViewingOptions.js +++ b/plugins/coral-plugin-viewing-options/client/components/ViewingOptions.js @@ -2,7 +2,7 @@ import React from 'react'; import cn from 'classnames'; import {Icon} from 'coral-ui'; import styles from './ViewingOptions.css'; -import {Slot} from 'plugin-api/client/components'; +import {Slot} from 'plugin-api/beta/client/components'; const ViewingOptions = (props) => { const toggleOpen = () => {