@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.
1 lines • 671 B
Source Map (JSON)
{"version":3,"sources":["../../../../src/visualBuilder/utils/getCamelCaseStyles.ts"],"sourcesContent":["import { camelCase } from \"lodash-es\";\n\nexport default function getCamelCaseStyles(styles: { [key: string]: string }): {\n [key: string]: string;\n} {\n return Object.keys(styles).reduce((acc, key) => {\n acc[camelCase(key)] = styles[key];\n return acc;\n }, {} as { [key: string]: string });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAA0B;AAEX,SAAR,mBAAoC,QAEzC;AACE,SAAO,OAAO,KAAK,MAAM,EAAE,OAAO,CAAC,KAAK,QAAQ;AAC5C,YAAI,4BAAU,GAAG,CAAC,IAAI,OAAO,GAAG;AAChC,WAAO;AAAA,EACX,GAAG,CAAC,CAA8B;AACtC;","names":[]}