sample-react-lib-by-arun v0.8.8
components-library-react
This is a simple react component library with two componentsMultiSelect and Checkbox and it can be integrated with any react application.
Installation
- Install it using npm
npm i sample-react-lib-by-arun --save-dev
.- After installing, you can find
sample-react-lib-by-arun
folder inside node_modules- Font awesome min css is used inside component for UI. Make sure to include it as cdn. Fontawesome (4.7) min css link
4. react, react-dom, prop-types and classnames are peer dependencies for this plugin.
Note: The fontawesome dependency will be removed soon.
Example Usage:
import React from 'react';
import CheckboxComponent from 'sample-react-lib-by-arun/lib/Checkbox';
class App extends React.Component {
render() {
return (
<div>
<CheckboxComponent label="Bike" />
</div>
)
}
}
export default App;
Documentation Site: (https://arun-ravichandran-1101.netlify.app/)
Github Link: (https://github.com/arunravichandran-11/components-library-react/)
This is a simple react component library with two componentsMultiSelect and Checkbox and it can be integrated with any react application.
Stack
- React JS
- Webpack
- prop-types
- babel
Follow the below instructions to run this codebase in local.
- git clone https://github.com/arunravichandran-11/components-library-react.git
- Navigate to docs-site folder
cd components-library-react/docs-site
- npm install
- npm start
#Open the link.Local
For the Production Build.
Step 1 to 3 from above instruction 4. npm run prod
A dist folder will be created inside the docs-site directory.
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago