Socket
Socket
Sign inDemoInstall

@bearei/react-icon

Package Overview
Dependencies
4
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.9 to 0.0.10

10

lib-esm/components/Icon.d.ts

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

/**
* Set the icon size
* Icon size
*/
size?: 'small' | 'medium' | 'large';
/**
* Set the width of the icon
* Icon width
*/
width?: string | number;
/**
* Set the icon height
* Icon height
*/
height?: string | number;
/**
* Set the icon fill color
* Icon fill color
*/
fill?: string;
/**
* The main area content of the icon
* Icon content
*/

@@ -31,0 +31,0 @@ content?: ReactNode;

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

/**
* Set the icon size
* Icon size
*/
size?: 'small' | 'medium' | 'large';
/**
* Set the width of the icon
* Icon width
*/
width?: string | number;
/**
* Set the icon height
* Icon height
*/
height?: string | number;
/**
* Set the icon fill color
* Icon fill color
*/
fill?: string;
/**
* The main area content of the icon
* Icon content
*/

@@ -31,0 +31,0 @@ content?: ReactNode;

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

@@ -25,3 +25,3 @@ "types": "./lib/index.d.ts",

"dependencies": {
"@bearei/react-util": "^0.0.15",
"@bearei/react-util": "^0.0.22",
"react": "^18.2.0"

@@ -28,0 +28,0 @@ },

@@ -13,7 +13,7 @@ # react-icon

| :-- | --: | --: | :-- |
| 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 | `ReactNode` | ✘ | The main area content of the icon |
| size | `small` `medium` `large` | ✘ | Icon size |
| width | `string` `number` | ✘ | Icon width |
| height | `string` `number` | ✘ | Icon height |
| fill | `string` | ✘ | Icon fill color |
| content | `ReactNode` | ✘ | Icon content |
| renderMain | `(props: IconMainProps) => ReactNode` | ✘ | Render the icon main |

@@ -20,0 +20,0 @@ | renderContainer | `(props: IconContainerProps) => ReactNode` | ✘ | Render the icon container |

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc