react-native-komect-uikit
Version:
React Native UI Toolkit
23 lines (17 loc) • 410 B
JavaScript
import React from 'react';
import { View, StyleSheet } from 'react-native';
import colors from '../config/colors';
let styles = {};
const Divider = ({ style }) => (
<View style={[styles.container, style && style]} />
);
Divider.propTypes = {
style: View.propTypes.style,
};
styles = StyleSheet.create({
container: {
height: 1,
backgroundColor: colors.grey5,
},
});
export default Divider;