@coopdigital/shared-component--totaliser

v1.2.12

Published

Co-op Component: Money raised totaliser

Downloads

381

Readme

shared-component--totaliser

Co-op membership totaliser component to display money raised together

Installation

Install via npm:

$ npm install @coopdigital/shared-component--totaliser --save

Usage

You can include shared-component--totaliser in your project by referencing it from your existing CSS via @import statement:

@import "node_modules/@coopdigital/shared-component--totaliser/dist/totaliser.css";

If you use PostCSS in your build pipeline, you can reference the sources directly:

@import "node_modules/@coopdigital/shared-component--totaliser/src/totaliser.pcss";

If you use a postcss-import plugin:

@import "@coopdigital/shared-component--totaliser";

License

Copyright (c) 2021 Co-operative Group Limited. Licensed MIT.