UNPKG

@contentstack/live-preview-utils

Version:

Contentstack provides the Live Preview SDK to establish a communication channel between the various Contentstack SDKs and your website, transmitting live changes to the preview pane.

14 lines (13 loc) 370 B
import "../../chunk-5WRI5ZAA.js"; // src/visualBuilder/utils/getCamelCaseStyles.ts import { camelCase } from "lodash-es"; function getCamelCaseStyles(styles) { return Object.keys(styles).reduce((acc, key) => { acc[camelCase(key)] = styles[key]; return acc; }, {}); } export { getCamelCaseStyles as default }; //# sourceMappingURL=getCamelCaseStyles.js.map