12 lines
320 B
TypeScript
Raw Normal View History

2024-03-09 18:48:49 +07:00
import { cn } from "@/lib/utils";
import { ComponentPropsWithClassName } from "@/types/components";
import { View } from "react-native";
type Props = ComponentPropsWithClassName<typeof View>;
const Box = ({ className, ...props }: Props) => {
return <View style={cn(className)} {...props} />;
};
export default Box;