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

12 lines
265 B
JavaScript

import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
export default class StyleguideExample extends Component {
@tracked value = null;
constructor() {
super(...arguments);
this.value = this.args.initialValue;
}
}