fix icons size and message update formatting & add missing blahs
This commit is contained in:
parent
0a20562d9f
commit
50ebf57b4c
16 changed files with 132 additions and 104 deletions
|
|
@ -3,6 +3,7 @@
|
|||
const ICONS = {
|
||||
_create: function(content, defaultProps, customProps = {}) {
|
||||
let p = { ...defaultProps, ...customProps };
|
||||
if (customProps.width && !customProps.height) p.height = customProps.width;
|
||||
let strokeAttrs = p.strokeWidth ? ` stroke-width="${p.strokeWidth}" stroke-linecap="${p.strokeLinecap}" stroke-linejoin="${p.strokeLinejoin}"` : "";
|
||||
let classAttr = p.className ? ` class="${p.className}"` : "";
|
||||
let styleAttr = p.style ? ` style="${p.style}"` : "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue