Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { View, StyleSheet } from 'react-native';
- const styles = StyleSheet.create({
- container: {
- borderBottomWidth: 1,
- padding: 5,
- backgroundColor: '#fff',
- justifyContent: 'flex-start',
- flexDirection: 'row',
- borderColor: '#ddd',
- position: 'relative',
- },
- });
- export default class CardSection extends React.Component {
- render() {
- return (
- <View style={styles.container}>
- {this.props.children}
- </View>
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement