@disputas/component-library
v1.0.0
Published
Shared components, styles and utilities for Hypothesis projects
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 --saveSASS
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';