wagtail/client/src/index.js
Thibaud Colas c309753378
Expose reusable client-side code to build Draftail extensions (#4467)
* Expose Draftail package as global variable for reuse
* Expose Wagtail React components for reuse
* Expose Draftail-related React components for reuse
2018-04-18 00:27:07 +03:00

27 lines
693 B
JavaScript

/**
* Entry point for the wagtail package.
* Re-exports components and other modules via a cleaner API.
*/
import Button from './components/Button/Button';
import Icon from './components/Icon/Icon';
import PublicationStatus from './components/PublicationStatus/PublicationStatus';
import LoadingSpinner from './components/LoadingSpinner/LoadingSpinner';
import Portal from './components/Portal/Portal';
import Transition from './components/Transition/Transition';
import Explorer, {
ExplorerToggle,
initExplorer,
} from './components/Explorer';
export {
Button,
Icon,
PublicationStatus,
LoadingSpinner,
Portal,
Transition,
Explorer,
ExplorerToggle,
initExplorer,
};