Files
Jarek RadoszandGitHub 849666a323 DEV: Remove renderTemplate from the styleguide (#21660)
Adds plugin API:

```js
import fidget from "../components/styleguide/molecules/fidget";

api.addStyleguideSection({
  component: fidget,
  id: "fidget",
  category: "molecules",
  priority: 0,
});
```

Removes notes. You can always add `<p class="styleguide-note">` to section components to annotate them.
2023-05-25 11:22:36 +02:00

11 lines
200 B
Handlebars

<h1 class="section-title">
{{#if this.section}}
{{section-title this.section.id}}
{{else}}
{{i18n this.title}}
{{/if}}
</h1>
<div class="styleguide-section-contents">
{{yield}}
</div>