@uiw/react-native
Version:
UIW for React Native
26 lines (25 loc) • 539 B
JavaScript
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
// import Icon from '../Icon';
const Show = props => {
const {
lunar = ''
} = props;
return <View style={styles.show}>
<Text style={{
fontSize: 18,
fontWeight: 'bold'
}}>{lunar}</Text>
</View>;
};
const styles = StyleSheet.create({
show: {
borderRadius: 5,
backgroundColor: '#fff',
marginHorizontal: 5,
marginVertical: 10,
paddingHorizontal: 10,
paddingVertical: 15
}
});
export default Show;