import { r as registerInstance, h } from './index-dd1fc9a4.js';
import './common-ecdc423b.js';
import { P as Paragraph } from './Paragraph-783c7e7c.js';
import { g as getProps } from './tools-9397f0ed.js';
var UIParagraph = /** @class */ (function () {
    function UIParagraph(hostRef) {
        registerInstance(this, hostRef);
        /**
         * Which heading level to use
         * [Figma Spec](https://www.figma.com/file/JhTzz4Z6S4WDyfgtMZ1fr1/DS---Core?node-id=353%3A10)
         */
        this.level = 3;
        this.leading = 'body';
    }
    UIParagraph.prototype.render = function () {
        return (h(Paragraph, Object.assign({}, getProps(['level', 'heading'], this)), h("slot", null)));
    };
    return UIParagraph;
}());
export { UIParagraph as ui_paragraph };
