Skip to content

Commit

Permalink
Merge pull request #11 from squidit/feature/add-more-components
Browse files Browse the repository at this point in the history
📝 Update readme
  • Loading branch information
wandersonsales-dev authored Apr 10, 2024
2 parents 8dc4371 + 164ef72 commit 576a1fe
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18"
registry-url: "https://registry.npmjs.org"
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: npm install && npm run build
- name: Organize Files 📁
run: cp -r dist src/dist && cp README.md src/dist/README.md && cp package.json src/dist/package.json
run: cp -r dist/src/* dist/
- name: Publish package on NPM 📦
run: cd src/dist && npm publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
52 changes: 51 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,52 @@
![Untitled_design-removebg-preview](https://github.com/squidit/react-css/assets/56000334/88ce8652-37b0-4e34-af91-2f82a996fdae)
<p align="center">
<img
src="https://github.com/squidit/react-css/assets/56000334/88ce8652-37b0-4e34-af91-2f82a996fdae"
width="256px" align="center" alt="logo" />
<h1 align="center">@squidit/react-css</h1>
<p align="center">This repository contains a React component library developed to facilitate the creation of consistent and elegant interfaces, following a custom style guide. The included components are highly customizable and designed to be reusable across a variety of React projects.</p>
</p>

## Table of contents

- [Installation](#installation)
- [How to Use](#how-to-use)
- [Customization](#customization)
- [License](#license)


## Installation

To use this library in your React project, you can install it via npm or yarn:

```bash
npm install @squidit/css @squidit/react-css
# or
yarn add @squidit/css @squidit/react-css
```

## How to Use

After installation, you can import and use the components as needed in your React components:

```jsx
import React from 'react';
import { SqButton } from '@squidit/react-css';

const MyComponent = () => {
return (
<div>
<SqButton>Click Here</SqButton>
</div>
);
};

export default MyComponent;
```

## Customization

This library allows high flexibility and customization of the components. You can modify the default styles of the components using specific props or by overriding the styles via CSS.

## License

This project is licensed under the [MIT License](LICENSE).
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@squidit/react-css",
"version": "0.0.9",
"version": "0.0.10",
"scripts": {
"format": "prettier --write --parser typescript '**/*.{ts,tsx}'",
"lint": "eslint src --ext js,ts,tsx",
Expand Down

0 comments on commit 576a1fe

Please sign in to comment.