diff options
Diffstat (limited to 'plugins/public-post-preview/js/src/index.js')
-rw-r--r-- | plugins/public-post-preview/js/src/index.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/public-post-preview/js/src/index.js b/plugins/public-post-preview/js/src/index.js new file mode 100644 index 00000000..d56dfc6a --- /dev/null +++ b/plugins/public-post-preview/js/src/index.js @@ -0,0 +1,6 @@ +import { registerPlugin } from '@wordpress/plugins'; +import { default as PreviewToggle } from './components/preview-toggle'; + +registerPlugin( 'public-post-preview', { + render: PreviewToggle, +} ); |