2026-01-01 17:46:58 +01:00

25 lines
424 B
TypeScript

import { ReactNode } from "react";
import { StyleSheet, View } from "react-native";
interface PanelProps {
children?: ReactNode;
}
const Panel = ({children}: PanelProps) => {
return (
<View style={styles.panel}>
{children}
</View>
)
}
const styles = StyleSheet.create({
panel: {
padding: 15,
borderRadius: 5,
boxShadow: '0px 4px 5px 0px rgba(0,0,0,0.18)'
},
});
export default Panel;