File size: 408 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { register, createReduxStore } from '@wordpress/data';
import { createActions } from './actions';
import { STORE_KEY } from './constants';
import reducer, { State } from './reducers';
import * as selectors from './selectors';
export * from './types';
export type { State };

export const store = createReduxStore( STORE_KEY, {
	actions: createActions(),
	reducer,
	selectors,
} );

register( store );