Yaltopia-Tickets-App/components/ShadowWrapper.tsx
2026-06-05 13:39:37 +03:00

22 lines
454 B
TypeScript

import React from "react";
import { View, ViewProps } from "react-native";
import { cn } from "@/lib/utils";
interface ShadowWrapperProps extends ViewProps {
level?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
children: React.ReactNode;
className?: string;
}
export function ShadowWrapper({
className,
children,
...props
}: ShadowWrapperProps) {
return (
<View className={cn(className)} {...props}>
{children}
</View>
);
}