https://github.com/sord-dev/huskio-component-library
https://github.com/sord-dev/huskio-component-library
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/sord-dev/huskio-component-library
- Owner: sord-dev
- Created: 2024-07-17T18:49:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T09:30:53.000Z (almost 2 years ago)
- Last Synced: 2025-02-11T15:51:49.622Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Component Library
Yet another react component library.
Architect: [@sord-dev](https://github.com/sord-dev)
Component Creator: [@MisterCxmpy](https://github.com/MisterCxmpy)
## Main Packages
- rollup
- storybook
- react
- react-icons
- sass
## Compiling the library
- In a terminal navigate to this project directory.
- Run the command `npm run build-lib`
- Find the outputted files within the `/dist` directory.
## Using the library in other projects
- Take the compiled index.js file within either `/dist/esm` or `/dist/ejs` for either ECMAScript modules or Embedded JavaScript.
- Navigate to your own project and place this file within a directory like `/lib/huskio-components` or `/utils/huskio-components` directory.
- Import the whole file (not recommended) or the specific components you'd like to use.
```js
// Homepage.jsx
import { ComponentOne } from '../lib/huskio-components';
const HomePage = () => {
return
}
```