@disputas/component-library
v1.0.0
Published
Shared components, styles and utilities for Hypothesis projects
Downloads
9
Keywords
Readme
Shared resources for Hypothesis front-end applications
A package of resources for Hypothesis front-end applications.
Requirements
Your project must have Preact installed as a dependency.
npm install --save preact
Usage
$ npm install @hypothesis/frontend-shared --save
SASS
To add styles for all shared components to your project's SASS:
@use '@hypothesis/frontend-shared/styles';
In JS
import { SvgIcon } from '@hypothesis/frontend-shared';