From 6c1ba3f030ff1eac33cc505e824fb0a07d0dd9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20=C5=A0t=C3=A1gl?= Date: Wed, 26 Jan 2022 13:28:21 +0100 Subject: [PATCH] Update Component.js --- src/dom_components/model/Component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom_components/model/Component.js b/src/dom_components/model/Component.js index 05db32492..4069b16c6 100644 --- a/src/dom_components/model/Component.js +++ b/src/dom_components/model/Component.js @@ -75,7 +75,7 @@ export const keyUpdateInside = `${keyUpdate}-inside`; * @property {Boolean} [selectable=true] Allow component to be selected when clicked. Default: `true` * @property {Boolean} [hoverable=true] Shows a highlight outline when hovering on the element if `true`. Default: `true` * @property {Boolean} [void=false] This property is used by the HTML exporter as void elements don't have closing tags, eg. `
`, `
`, etc. Default: `false` - * @property {Object} [style=''] Component default style, eg. `{ width: '100px', height: '100px', 'background-color': 'red' }` + * @property {Object} [style={}] Component default style, eg. `{ width: '100px', height: '100px', 'background-color': 'red' }` * @property {String} [styles=''] Component related styles, eg. `.my-component-class { color: red }` * @property {String} [content=''] Content of the component (not escaped) which will be appended before children rendering. Default: `''` * @property {String} [icon=''] Component's icon, this string will be inserted before the name (in Layers and badge), eg. it can be an HTML string ''. Default: `''`