0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client
Helen C 5682aea460 Add the option to set images as decorative
If an image is decorative, the alt text will be set to be empty. If an image is not decorative, then alt text must be supplied for screen readers.
2021-01-29 10:24:14 +00:00
..
scss Add the option to set images as decorative 2021-01-29 10:24:14 +00:00
src Add the option to set images as decorative 2021-01-29 10:24:14 +00:00
tests Add the option to set images as decorative 2021-01-29 10:24:14 +00:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
webpack.config.js Remove userbars dependency on the vendor bundle 2021-01-15 17:18:48 +00:00

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:

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.