import React from 'react'; import { ActivityIndicator, StyleSheet } from 'react-native'; import { PropTypes } from 'prop-types'; import { themes } from '../constants/colors'; const styles = StyleSheet.create({ indicator: { padding: 16, flex: 1 }, absolute: { position: 'absolute', left: 0, right: 0, top: 0, bottom: 0, alignItems: 'center', justifyContent: 'center' } }); const RCActivityIndicator = ({ theme, absolute, ...props }) => ( ); RCActivityIndicator.propTypes = { theme: PropTypes.string, absolute: PropTypes.bool, props: PropTypes.object }; RCActivityIndicator.defaultProps = { theme: 'light' }; export default RCActivityIndicator;