0.0.10 • Published 4 years ago
react-table-card-responsive v0.0.10
react-table-card-responsive
Super responsive react table component
Install
npm i react-table-card-responsive@latest
How to use?
// import
import StyledButton, { Sizes } from "react-table-card-responsive";
// usage
<StyledButton size={Sizes.md}>
<span>Custom Button</span>
</StyledButton>Props
- size:
sizeof the button can belg,mdorsm
Contribute
Testing Locally
Testing the package locally, before you release to npm registry is critical. You can easily test the changes to components while you develope, by linking the package to the ReactJS app using this package. Follow the steps described in this tutorial.
Steps to Release
(commit any pending changes)
- Run
npm version <version>. Eg.npm version 0.1.0ornpm version 0.1.0-beta.0 - Run
npm run release- builds the project for bothdevandprodusage - Run
npm publish- Optionally add--tag betaattribute if releasing a beta version
References
- Blog: for NPM package creation