@zohodesk/utils
v1.3.13
Published
Unified Component Library - Utils
Downloads
1,161
Maintainers
Readme
#UNIFIED COMPONENTS LIBRARY - Utils
In this package, We provide lots of util fuctions for web devlopment
1.3.13
mergeStyle
issue fix
1.3.12
mergeStyle
functionality updated. Composed classes will also update if it is inside that file.
// Before
const style = mergeStyle(
{ a: '1', b: '1 2' },
{ a: 'a' }
);
// style = { a: '1 a', b: '1 2' }
// After
const style = mergeStyle(
{ a: '1', b: '1 2' },
{ a: 'a' }
);
// style = { a: '1 a', b: '1 a 2' }
compileClassNames
code optimized. Will not support other than object as argument.