Allow linking controls

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
Signed-off-by: Sacha Al Himdani <sacha@getprobo.com>
This commit is contained in:
Jonathan
2025-06-10 13:40:24 +02:00
committed by Sacha Al Himdani
parent 93aeedf1e1
commit ab077c385e
32 changed files with 2841 additions and 193 deletions

View File

@@ -16,7 +16,6 @@ export function InfiniteScrollTrigger({ children, onView, loading }: Props) {
threshold: 0,
});
const onViewRef = useRefSync(onView);
console.log(inView);
useEffect(() => {
if (inView && !loading) onViewRef.current();
}, [inView, loading]);

View File

@@ -19,8 +19,8 @@ export const input = tv({
variant: {
bordered:
"py-[6px] bg-secondary border border-border-mid rounded-[10px] hover:border-border-strong text-sm px-3 text-txt-primary",
ghost: "text-base text-txt-secondary",
title: "text-2xl font-semibold text-txt-primary",
ghost: "text-base text-txt-secondary outline-none",
title: "text-2xl font-semibold text-txt-primary outline-none",
},
},
defaultVariants: {