1.3.10 • Published 1 year ago

@nps.today/component-library v1.3.10

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

@nps.today/component-library

React component library for displaying your nps.today data.

Documentation

This component library use storybook. Go to ui.nps.today to read more about each component avalible, and how to customize each component for your needs.

React

Installation

npm install @nps.today/component-library

Usage

// ExampleComponent.jsx
import { NpsScoreGauge } from "@nps.today/component-library";

return <NpsScoreGauge score={100} />;

CDN

Full component library

<!--index.html-->
<head>
	<script type="module" src="https://unpkg.com/@nps.today/component-library@1.2.0/bundled/index.esm.min.js"></script>
</head>
<body>
	<nps-score-gauge score="100"></nps-score-gauge>
</body>

Single component

<!--index.html-->
<head>
	<script
		type="module"
		src="https://unpkg.com/@nps.today/component-library@1.2.0/bundled/NpsScoreGauge/index.esm.min.js"
	></script>
</head>
<body>
	<nps-score-gauge score="100" arcsLength="0.5,0.3,0.2"></nps-score-gauge>
</body>
1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.3.10

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

0.0.1

1 year ago