File "block-styles.js"
Full path: /home/webcknlt/admissiontell.com/wp-content/plugins/generateblocks/src/store/block-styles.js
File
size: 819 B (819 B bytes)
MIME-type: text/x-java
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
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,
}
);