UNPKG

@freshworks/crayons

Version:
108 lines (107 loc) 2.41 kB
import { Component, h, Prop } from '@stencil/core'; export class CustomCellUser { constructor() { this.name = ''; this.size = 18; this.color = '#647A8E'; this.library = 'crayons'; this.src = null; } render() { return (h("fw-icon", { name: this.name, size: this.size, color: this.color, library: this.library, src: this.src })); } static get is() { return "fw-custom-cell-icon"; } static get encapsulation() { return "shadow"; } static get properties() { return { "name": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "name", "reflect": false, "defaultValue": "''" }, "size": { "type": "number", "mutable": false, "complexType": { "original": "number", "resolved": "number", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "size", "reflect": false, "defaultValue": "18" }, "color": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "color", "reflect": false, "defaultValue": "'#647A8E'" }, "library": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "library", "reflect": false, "defaultValue": "'crayons'" }, "src": { "type": "any", "mutable": false, "complexType": { "original": "any", "resolved": "any", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "src", "reflect": false, "defaultValue": "null" } }; } }