@woocommerce/data
Version:
WooCommerce Admin data store and utilities
21 lines (20 loc) • 472 B
JavaScript
/**
* External dependencies
*/
import { registerStore } from '@wordpress/data';
/**
* Internal dependencies
*/
import { STORE_NAME } from './constants';
import * as selectors from './selectors';
import * as actions from './actions';
import reducer from './reducer';
import controls from '../controls';
export * from './types';
registerStore(STORE_NAME, {
reducer: reducer,
actions,
controls,
selectors,
});
export const EXPORT_STORE_NAME = STORE_NAME;