@peersyst/react-types
Advanced tools
Comparing version 1.2.0 to 1.3.0
# Versions | ||
## 0.0.1 | ||
## 1.3.0 | ||
[Slot] Slot Component type |
@@ -1,2 +0,2 @@ | ||
import { CSSProperties } from "react"; | ||
import { CSSProperties, FC } from "react"; | ||
@@ -42,3 +42,3 @@ /** | ||
*/ | ||
type Common<A, B> = Pick< | ||
export type Common<A, B> = Pick< | ||
A, | ||
@@ -53,2 +53,7 @@ { | ||
*/ | ||
type Difference<A, B> = Omit<A, keyof B>; | ||
export type Difference<A, B> = Omit<A, keyof B>; | ||
/** | ||
* Slot Component type | ||
*/ | ||
export type Slot<P = any, S extends string = string> = FC<P> & { slot: S }; |
{ | ||
"name": "@peersyst/react-types", | ||
"author": "Peersyst", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "types": "./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
3143
49