@anjuna/docs
Version:
Anjuna Documentation Web Components
37 lines (36 loc) • 1.11 kB
JavaScript
import { h } from "@stencil/core";
export class PropDef {
render() {
return [
h("h4", null,
h("ad-decorator", null, "@Prop\u00A0"),
h("ad-api-name", null, this.prop.name),
h("ad-type-def", null, this.prop.type)),
h("p", null, this.prop.docs)
];
}
static get is() { return "ad-prop-def"; }
static get originalStyleUrls() { return {
"$": ["../../theme/definition.scss"]
}; }
static get styleUrls() { return {
"$": ["../../theme/definition.css"]
}; }
static get properties() { return {
"prop": {
"type": "unknown",
"mutable": false,
"complexType": {
"original": "{[key: string]: any}",
"resolved": "{ [key: string]: any; }",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": "The property to display"
}
}
}; }
}