mirror of
https://github.com/flarum/framework.git
synced 2024-11-26 10:14:16 +08:00
Expose state classes via compat
This way, they can be extended by extensions.
This commit is contained in:
parent
c2bea8cde3
commit
070b4b1c21
|
@ -9,6 +9,10 @@ import DiscussionControls from './utils/DiscussionControls';
|
|||
import alertEmailConfirmation from './utils/alertEmailConfirmation';
|
||||
import UserControls from './utils/UserControls';
|
||||
import Pane from './utils/Pane';
|
||||
import DiscussionListState from './state/DiscussionListState';
|
||||
import GlobalSearchState from './states/GlobalSearchState';
|
||||
import NotificationListState from './states/NotificationListState';
|
||||
import SearchState from './states/SearchState';
|
||||
import DiscussionPage from './components/DiscussionPage';
|
||||
import LogInModal from './components/LogInModal';
|
||||
import ComposerBody from './components/ComposerBody';
|
||||
|
@ -77,6 +81,10 @@ export default Object.assign(compat, {
|
|||
'utils/alertEmailConfirmation': alertEmailConfirmation,
|
||||
'utils/UserControls': UserControls,
|
||||
'utils/Pane': Pane,
|
||||
'states/DiscussionListState': DiscussionListState,
|
||||
'states/GlobalSearchState': GlobalSearchState,
|
||||
'states/NotificationListState': NotificationListState,
|
||||
'states/SearchState': SearchState,
|
||||
'components/DiscussionPage': DiscussionPage,
|
||||
'components/LogInModal': LogInModal,
|
||||
'components/ComposerBody': ComposerBody,
|
||||
|
|
Loading…
Reference in New Issue
Block a user