@bearei/react-icon
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -46,3 +46,3 @@ import type { HandleEvent } from '@bearei/react-util/lib/event'; | ||
*/ | ||
export interface IconChildrenProps<T, E> extends Omit<IconProps<T, E>, 'renderContainer' | 'renderMain' | 'ref'> { | ||
export interface IconChildrenProps<T, E> extends Omit<BaseIconProps<T, E>, 'ref'> { | ||
/** | ||
@@ -59,4 +59,4 @@ * The unique ID of the component | ||
export declare type IconMainProps<T, E> = IconChildrenProps<T, E>; | ||
export declare type IconContainerProps<T, E> = Pick<IconProps<T, E>, 'ref'> & IconChildrenProps<T, E>; | ||
export declare type IconContainerProps<T, E> = IconChildrenProps<T, E> & Pick<BaseIconProps<T, E>, 'ref'>; | ||
declare function Icon<T, E = React.MouseEvent<T, MouseEvent>>({ ref, renderMain, renderContainer, ...props }: IconProps<T, E>): JSX.Element; | ||
export default Icon; |
@@ -46,3 +46,3 @@ import type { HandleEvent } from '@bearei/react-util/lib/event'; | ||
*/ | ||
export interface IconChildrenProps<T, E> extends Omit<IconProps<T, E>, 'renderContainer' | 'renderMain' | 'ref'> { | ||
export interface IconChildrenProps<T, E> extends Omit<BaseIconProps<T, E>, 'ref'> { | ||
/** | ||
@@ -59,4 +59,4 @@ * The unique ID of the component | ||
export declare type IconMainProps<T, E> = IconChildrenProps<T, E>; | ||
export declare type IconContainerProps<T, E> = Pick<IconProps<T, E>, 'ref'> & IconChildrenProps<T, E>; | ||
export declare type IconContainerProps<T, E> = IconChildrenProps<T, E> & Pick<BaseIconProps<T, E>, 'ref'>; | ||
declare function Icon<T, E = React.MouseEvent<T, MouseEvent>>({ ref, renderMain, renderContainer, ...props }: IconProps<T, E>): JSX.Element; | ||
export default Icon; |
{ | ||
"name": "@bearei/react-icon", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"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
35362