mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-30 01:46:24 +01:00
eed16e0034
* This commit only covers the migration of the icons in the menu and draftail editor. All other admin menu icons remain implemented as before. * Existing font based icon support still exists. * Convert menu icons to SVG * This could be considered a breaking change for any Wagtail sites or packages that are leveraging Wagtail's Button and Icon React components. * Remove references to unused `submenu-trigger` class * Prefix icon `id`s with `icon-` to prevent `id` collisions * Add hooks support (not yet documented) for adding custom icons |
||
---|---|---|
.. | ||
scss | ||
src | ||
tests | ||
webpack | ||
package.json | ||
README.md |
Wagtail client-side components
This library aims to give developers the ability to subclass and configure Wagtail's UI components.
Usage
npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />
Development
# From the project root, start the webpack + styles compilation.
npm run start
You will also need:
- React DevTools – React developer tools integrated into Chrome.
- Redux DevTools – Redux developer tools integrated into Chrome.
Releases
The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail
.