@ecreeth/rn-ui
Version:
Highly customizable and theming components for React Native
26 lines (21 loc) • 430 B
JavaScript
import React, { PureComponent } from 'react';
import { View as RNView } from 'react-native';
import PropTypes from 'prop-types';
const propTypes = {
rounded: PropTypes.bool,
};
const defaultProps = {
rounded: true,
};
class Card extends PureComponent {
render() {
return (
<RNView
{...this.props}
/>
);
}
}
Card.propTypes = propTypes;
Card.defaultProps = defaultProps;
export default Card;