Create New Item
×
Item Type
File
Folder
Item Name
×
Search file in folder and subfolders...
File Manager
/
wp-content
/
plugins
/
generateblocks
/
src
/
store
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
import { createReduxStore } from '@wordpress/data'; import { currentStyleActions, currentStyleSelectors, currentStyleReducer, nestedRuleActions, nestedRuleSelectors, nestedRuleReducer, atRuleActions, atRuleSelectors, atRuleReducer, } from '@edge22/styles-builder'; export const currentStyleStore = createReduxStore( 'gb-block-styles-current-style', { reducer: currentStyleReducer, actions: currentStyleActions, selectors: currentStyleSelectors, } ); export const atRuleStore = createReduxStore( 'gb-block-styles-at-rule', { reducer: atRuleReducer, actions: atRuleActions, selectors: atRuleSelectors, } ); export const nestedRuleStore = createReduxStore( 'gb-block-styles-nested-rule', { reducer: nestedRuleReducer, actions: nestedRuleActions, selectors: nestedRuleSelectors, } );