coolshapes-react
Advanced tools
Comparing version 0.0.8-alpha.1 to 0.1.0-beta.0
@@ -1,4 +0,4 @@ | ||
import React, { ForwardRefExoticComponent, ComponentPropsWithRef } from 'react'; | ||
import React, { ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'; | ||
interface ShapeProps extends ComponentPropsWithRef<"svg"> { | ||
interface ShapeProps extends RefAttributes<SVGSVGElement>, Partial<SVGProps<SVGSVGElement>> { | ||
size?: number; | ||
@@ -5,0 +5,0 @@ noise?: boolean; |
{ | ||
"name": "coolshapes-react", | ||
"version": "0.0.8-alpha.1", | ||
"version": "0.1.0-beta.0", | ||
"description": "A react component library for coolshapes", | ||
@@ -8,5 +8,11 @@ "keywords": [ | ||
"shapes", | ||
"abstract" | ||
"abstract", | ||
"svg", | ||
"vector", | ||
"avatar", | ||
"illustration", | ||
"graphics", | ||
"placeholder" | ||
], | ||
"main": "dist/umd/coolshapes.js", | ||
"main": "dist/cjs/coolshapes.js", | ||
"main:umd": "dist/umd/coolshapes.js", | ||
@@ -31,2 +37,3 @@ "module": "dist/esm/coolshapes.js", | ||
"email": "realvjy@gmail.com", | ||
"twitter": "https://x.com/realvjy", | ||
"url": "https://vjy.me" | ||
@@ -38,2 +45,3 @@ }, | ||
"url": "https://greenapple.one", | ||
"twitter": "https://x.com/0xgreenapple", | ||
"email": "0xgreenapple@gmail.com" | ||
@@ -81,2 +89,2 @@ } | ||
} | ||
} | ||
} |
@@ -16,12 +16,12 @@ [![Coolshapes](https://coolshap.es/react-preview.jpg)](https://coolshap.es) | ||
- [Coolshapes](#coolshapes) | ||
- [Table of Contents](#table-of-contents) | ||
- [Table of Contents](#table-of-contents) | ||
- [Installation](#installation) | ||
- [How to use](#how-to-use) | ||
- [Global component example](#global-component-example) | ||
- [Component with shape category example](#component-with-shape-category-example) | ||
- [Generating random shapes](#generating-random-shapes) | ||
- [Using random shape function](#using-random-shape-function) | ||
- [Other Methods](#other-methods) | ||
- [Renders the shapes from all catagories](#renders-the-shapes-from-all-catagories) | ||
- [syntax](#syntax) | ||
- [Global component example](#global-component-example) | ||
- [Component with shape category example](#component-with-shape-category-example) | ||
- [Generating random shapes](#generating-random-shapes) | ||
- [Using random shape function](#using-random-shape-function) | ||
- [Other Methods](#other-methods) | ||
- [Renders the shapes from all catagories](#renders-the-shapes-from-all-catagories) | ||
- [syntax](#syntax) | ||
- [Props](#props) | ||
@@ -28,0 +28,0 @@ - [Categories](#categories) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2132558
10
2556
3
27