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

@bearei/react-icon

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearei/react-icon - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

lib-esm/components/Icon.d.ts

@@ -29,5 +29,5 @@ import type { DetailedHTMLProps, HTMLAttributes, ReactNode, Ref } from 'react';

/**
* Custom icon component
* The main area content of the icon
*/
component?: ReactNode;
content?: ReactNode;
}

@@ -34,0 +34,0 @@ /**

@@ -29,5 +29,5 @@ import type { DetailedHTMLProps, HTMLAttributes, ReactNode, Ref } from 'react';

/**
* Custom icon component
* The main area content of the icon
*/
component?: ReactNode;
content?: ReactNode;
}

@@ -34,0 +34,0 @@ /**

{
"name": "@bearei/react-icon",
"version": "0.0.2",
"version": "0.0.3",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts",

@@ -11,11 +11,11 @@ # react-icon

| Name | Type | Required | Description |
| :-------------- | -----------------------: | -------: | :------------------------ |
| size | 'small','medium','large' | ✘ | Set the icon size |
| width | string,number | ✘ | Set the width of the icon |
| height | string,number | ✘ | Set the icon height |
| fill | string | ✘ | Set the icon fill color |
| component | React.ReactNode | ✘ | Custom icon component |
| renderMain | function(props) | ✘ | Render the icon main |
| renderContainer | function(props,element) | ✘ | Render the icon container |
| Name | Type | Required | Description |
| :-------------- | -----------------------: | -------: | :-------------------------------- |
| size | 'small','medium','large' | ✘ | Set the icon size |
| width | string,number | ✘ | Set the width of the icon |
| height | string,number | ✘ | Set the icon height |
| fill | string | ✘ | Set the icon fill color |
| content | React.ReactNode | ✘ | The main area content of the icon |
| renderMain | function(props) | ✘ | Render the icon main |
| renderContainer | function(props,element) | ✘ | Render the icon container |

@@ -22,0 +22,0 @@ ## Use

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