To expand on previous answers, you can get a nice re-usable Group component similar to the one in Mantine like this:
import { View, ViewProps } from "react-native";
export function Group(props: ViewProps) {
return <View style={[{ flexDirection: "row" }, props.style]} {...props} />;
}
Assuming your project is using typescript, the ViewProps usage above allows passing through any other properties and preserves type hints