@bearei/react-icon
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -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 |
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
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
36732