Files
luggage-list/src/components/Field.js
Luna bdea52b7c6
Some checks failed
Luggage List Build / release (push) Has been cancelled
Luggage List Build / build-android (push) Has been cancelled
Luggage List Build / build-web (push) Has been cancelled
refactor: split app into modular src architecture
2026-04-18 12:56:12 +02:00

13 lines
291 B
JavaScript

import React from 'react';
import { Text, View } from 'react-native';
import { styles } from '../styles';
export default function Field({ label, children }) {
return (
<View style={styles.fieldWrap}>
<Text style={styles.label}>{label}</Text>
{children}
</View>
);
}