@reactiff/lib-ts-test
v1.0.1
Published
Test of TypeScript component library (not React
Downloads
3
Readme
test
Made with create-react-library
Install
yarn add @reactiff/lib-ts-testUsage
import LibTsTest from '@reactiff/lib-ts-test'
const options: LibTsTestOptions = {
operation: 'sum',
};
const x = new LibTsTest(options);
const r = x.compute(1, 2, 3);
console.log(r);
// output: 6Setting up local development for this repo or a clone of it
In project root
yarn link
yarn install
yarn start
then to run the example
cd example
yarn link "@reactiff/lib-ts-test"
yarn install
yarn start
License
MIT © reactiff
