Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

coolshapes-react

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coolshapes-react - npm Package Compare versions

Comparing version 0.0.8-alpha.1 to 0.1.0-beta.0

dist/cjs/coolshapes.js

4

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc