react-table-card-responsive
v0.0.10
Published
Super responsive react table component
Downloads
2
Maintainers
Readme
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:
size
of the button can belg
,md
orsm
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.0
ornpm version 0.1.0-beta.0
- Run
npm run release
- builds the project for bothdev
andprod
usage - Run
npm publish
- Optionally add--tag beta
attribute if releasing a beta version
References
- Blog: for NPM package creation