@freshworks/crayons
Version:
Crayons Web Components library
20 lines (19 loc) • 495 B
JavaScript
import { Component, h } from '@stencil/core';
export class ModalContent {
/**
* render the slot content directly
* @returns {JSX.Element}
*/
render() {
return (h("div", { class: 'content' },
h("slot", null)));
}
static get is() { return "fw-modal-content"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() { return {
"$": ["modal-content.scss"]
}; }
static get styleUrls() { return {
"$": ["modal-content.css"]
}; }
}