@nadeeshadileen/npm-pack-test
v1.0.5
Published
A simple component library to demonstrate publishing to npm
Downloads
2
Readme
TypeScript Components by Nadeesha Nawagaththegama
This repository was created as part of a guide to publishing TypeScript React components. You can read the guide over here: Publishing TypeScript React components to NPM
Getting Started
Install this package:
npm install npm-pack-test
Import the Counter component:
import { Counter } from "npm-pack-test";
You can then render the Counter
component like any other React component in JSX.