mirror of
https://github.com/khairul169/home-lab.git
synced 2025-06-17 17:19:33 +07:00
12 lines
320 B
TypeScript
12 lines
320 B
TypeScript
|
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;
|