@nextui-org/system-rsc
Advanced tools
Comparing version 0.0.0-canary-20241208124331 to 0.0.0-canary-20241211044125
import { StringToBoolean, ClassProp, ClassValue, OmitUndefined } from 'tailwind-variants'; | ||
import { JSXElementConstructor, ForwardRefRenderFunction, ReactElement } from 'react'; | ||
import { JSXElementConstructor, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, ReactElement } from 'react'; | ||
@@ -93,9 +93,9 @@ type SlotsClassValue<S> = { | ||
opts?: Options, | ||
): ForwardRefRenderFunction< | ||
ReactElement, | ||
{ | ||
): ForwardRefExoticComponent< | ||
PropsWithoutRef<{ | ||
[key in keyof CP | keyof V]?: | ||
| (key extends keyof CP ? CP[key] : never) | ||
| (key extends keyof V ? StringToBoolean<keyof V[key]> : never); | ||
} | ||
}> & | ||
RefAttributes<ReactElement> | ||
>; | ||
@@ -102,0 +102,0 @@ }; |
import { StringToBoolean, ClassProp, ClassValue, OmitUndefined } from 'tailwind-variants'; | ||
import { JSXElementConstructor, ForwardRefRenderFunction, ReactElement } from 'react'; | ||
import { JSXElementConstructor, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, ReactElement } from 'react'; | ||
@@ -93,9 +93,9 @@ type SlotsClassValue<S> = { | ||
opts?: Options, | ||
): ForwardRefRenderFunction< | ||
ReactElement, | ||
{ | ||
): ForwardRefExoticComponent< | ||
PropsWithoutRef<{ | ||
[key in keyof CP | keyof V]?: | ||
| (key extends keyof CP ? CP[key] : never) | ||
| (key extends keyof V ? StringToBoolean<keyof V[key]> : never); | ||
} | ||
}> & | ||
RefAttributes<ReactElement> | ||
>; | ||
@@ -102,0 +102,0 @@ }; |
{ | ||
"name": "@nextui-org/system-rsc", | ||
"version": "0.0.0-canary-20241208124331", | ||
"version": "0.0.0-canary-20241211044125", | ||
"description": "NextUI system primitives compatibles with RSC imports", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
37276