feat: whyrating - initial project from turbostarter boilerplate

This commit is contained in:
Alejandro Gutiérrez
2026-02-04 01:54:52 +01:00
commit 5cdc07cd39
1618 changed files with 338230 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
import * as LabelPrimitive from "@rn-primitives/label";
import { cn } from "@turbostarter/ui";
function Label({
className,
onPress,
onLongPress,
onPressIn,
onPressOut,
disabled,
...props
}: LabelPrimitive.TextProps & React.RefAttributes<LabelPrimitive.TextRef>) {
return (
<LabelPrimitive.Root
className={cn(
"flex flex-row items-center gap-2 select-none",
disabled && "opacity-50",
)}
onPress={onPress}
onLongPress={onLongPress}
onPressIn={onPressIn}
onPressOut={onPressOut}
disabled={disabled}
>
<LabelPrimitive.Text
className={cn(
"text-foreground native:leading-tight font-sans-medium text-sm",
className,
)}
{...props}
/>
</LabelPrimitive.Root>
);
}
export { Label };