Manuscripts graphical assets
This repository contains graphical asset originals (Symbols.sketch), as well as exports in various formats bitmap and vector formats.
npm run buildto export the images from the Sketch file, generate the placeholder JS via webpack, and generate the React components via svgr (or
npm run build-reactif the images have already been exported).
- Increment the version in
npm publishto publish the package to the private repository.
Resizing the React components
height props are passed through to the SVG component (as are any other props), so set these to resize a component.
Styling the React components
There are no class attributes in the SVG files, but there are other CSS selectors that can be used to apply styles. For example: