import { r as registerInstance, h } from './index-0861cb0b.js';
import './common-d52c7ecc.js';
import { P as Paragraph } from './Paragraph-47cc160b.js';
import { g as getProps } from './tools-f7209f13.js';

const UIParagraph = class {
  constructor(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';
  }
  render() {
    return (h(Paragraph, Object.assign({}, getProps(['level', 'heading'], this)), h("slot", null)));
  }
};

export { UIParagraph as ui_paragraph };
