Template for React TypeScript Component library
Playground – play with library in Storybook
First, install the library in your project by npm:
npm install react-components-typescript-npm-starter
Or Yarn:
yarn add react-components-typescript-npm-starter
Import HelloWorld
and use as Compound Component:
import { HelloWorld } from 'react-components-typescript-npm-starter';
...
<HelloWorld />
...
Name | Type | Description | Default |
---|---|---|---|
text |
string | Custom message | Hello World! |
This project is licensed under the MIT License © 2021-present Jakub Biesiada