phosphor-react
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -9,3 +9,3 @@ import { DOMAttributes, SVGAttributes } from "react"; | ||
export declare type Icon = React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>; | ||
export declare type IconContext = Required<Pick<IconProps, "color" | "size" | "weight" | "mirrored">> & SVGAttributes<SVGSVGElement>; | ||
export declare const IconContext: import("react").Context<IconContext>; | ||
export declare type IconContextProps = Required<Pick<IconProps, "color" | "size" | "weight" | "mirrored">> & SVGAttributes<SVGSVGElement>; | ||
export declare const IconContext: import("react").Context<IconContextProps>; |
{ | ||
"name": "phosphor-react", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "A clean and friendly icon family for React", | ||
@@ -19,2 +19,12 @@ "author": "rektdeckard", | ||
}, | ||
"keywords": [ | ||
"react", | ||
"icons", | ||
"svg", | ||
"phosphor", | ||
"design", | ||
"interface", | ||
"UI", | ||
"UX" | ||
], | ||
"scripts": { | ||
@@ -21,0 +31,0 @@ "start": "tsdx watch", |
@@ -17,3 +17,3 @@ import { DOMAttributes, SVGAttributes, createContext } from "react"; | ||
export type IconContext = Required< | ||
export type IconContextProps = Required< | ||
Pick<IconProps, "color" | "size" | "weight" | "mirrored"> | ||
@@ -23,3 +23,3 @@ > & | ||
export const IconContext = createContext<IconContext>({ | ||
export const IconContext = createContext<IconContextProps>({ | ||
color: "currentColor", | ||
@@ -26,0 +26,0 @@ size: "1em", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3359374
44417