Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
realvjy committed Apr 7, 2024
1 parent eaf0d21 commit 90b93f4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 0.1.1-beta.0

- Fix Random Function
- Fix state issue

## 0.1.0-beta.0

- Bug Fix
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const App = () => {
export default App;
```


#### Generating random shapes

setting the `random` [prop](#props) to true or leaving the `index` or `type` prop empty would replace the shape with a random shape every time it renders.
Expand Down Expand Up @@ -184,10 +185,16 @@ There are a total of **115** shapes available in Coolshapes under the following
| `misc` | 11 |
| `number` | 10 |

**Note:** When importing the components the name would be capitalized, but when passing as prop, the name would be lower case
**Note:** When importing the components the name would be capitalized, but when passing as prop, the name would be lower case.


### Others

#### Name & Class
All components have inbuilt name starting 1. But, index starts from 0.
*Example: `<Star index={0} />` when rendered it's component name and class name is `Star1`*

#### umd & es
There are `umd` and `es` included in bundled version of the module,

#### cjs
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coolshapes-react",
"version": "0.1.0-beta.0",
"description": "A react component library for coolshapes",
"version": "0.1.1-beta.0",
"description": "A react component library for coolshapes with little grainy gradients.",
"keywords": [
"coolshapes",
"shapes",
Expand Down

0 comments on commit 90b93f4

Please sign in to comment.