UNPKG

@uiw/react-native

Version:
21 lines (20 loc) 555 B
import React from 'react'; import { View, StyleSheet } from 'react-native'; // import Icon from '../Icon'; import Text from '../Typography/Text'; 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, marginHorizontal: 5, marginVertical: 10, paddingHorizontal: 10, paddingVertical: 15, }, }); export default Show;