@bearei/react-icon
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -43,3 +43,3 @@ import type { DetailedHTMLProps, HTMLAttributes, ReactNode, Ref } from 'react'; | ||
*/ | ||
renderContainer?: (props: IconContainerProps) => ReactNode; | ||
renderContainer?: (props: IconContainerProps<T>) => ReactNode; | ||
} | ||
@@ -57,4 +57,4 @@ /** | ||
export declare type IconMainProps = IconChildrenProps; | ||
export declare type IconContainerProps = IconChildrenProps & Pick<BaseIconProps, 'ref'>; | ||
export declare type IconContainerProps<T> = IconChildrenProps & Pick<BaseIconProps<T>, 'ref'>; | ||
declare const Icon: <T extends HTMLElement>({ ref, renderMain, renderContainer, ...props }: IconProps<T>) => JSX.Element; | ||
export default Icon; |
@@ -43,3 +43,3 @@ import type { DetailedHTMLProps, HTMLAttributes, ReactNode, Ref } from 'react'; | ||
*/ | ||
renderContainer?: (props: IconContainerProps) => ReactNode; | ||
renderContainer?: (props: IconContainerProps<T>) => ReactNode; | ||
} | ||
@@ -57,4 +57,4 @@ /** | ||
export declare type IconMainProps = IconChildrenProps; | ||
export declare type IconContainerProps = IconChildrenProps & Pick<BaseIconProps, 'ref'>; | ||
export declare type IconContainerProps<T> = IconChildrenProps & Pick<BaseIconProps<T>, 'ref'>; | ||
declare const Icon: <T extends HTMLElement>({ ref, renderMain, renderContainer, ...props }: IconProps<T>) => JSX.Element; | ||
export default Icon; |
{ | ||
"name": "@bearei/react-icon", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
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
27317