@chakra-ui/react-types
Advanced tools
Comparing version 0.0.0-dev-20220820173639 to 0.0.0-dev-20220820185458
{ | ||
"name": "@chakra-ui/react-types", | ||
"version": "0.0.0-dev-20220820173639", | ||
"version": "0.0.0-dev-20220820185458", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -72,9 +72,14 @@ export interface AriaLabelingProps { | ||
export type PropGetter<P = Record<string, any>, R = DOMAttributes> = ( | ||
props?: DOMAttributes & P, | ||
type Merge<M, N> = N extends Record<string, unknown> ? M : Omit<M, keyof N> & N | ||
export type PropGetter<P = Record<string, unknown>, R = DOMAttributes> = ( | ||
props?: Merge<DOMAttributes, P>, | ||
ref?: React.Ref<any>, | ||
) => R & React.RefAttributes<any> | ||
export type RequiredPropGetter<P = Record<string, any>, R = DOMAttributes> = ( | ||
props: DOMAttributes & P, | ||
export type RequiredPropGetter< | ||
P = Record<string, unknown>, | ||
R = DOMAttributes, | ||
> = ( | ||
props: Merge<DOMAttributes, P>, | ||
ref?: React.Ref<any>, | ||
@@ -81,0 +86,0 @@ ) => R & React.RefAttributes<any> |
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
4546
77