mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 14:43:38 +08:00
22a6ae7e32
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. |
||
---|---|---|
.. | ||
app/controllers/styleguide | ||
assets | ||
config | ||
lib/styleguide | ||
public/images | ||
spec/integration | ||
plugin.rb | ||
README.md | ||
screenshot.png |