native-base
Version:
Essential cross-platform UI components for React Native
20 lines (19 loc) • 319 B
JavaScript
const baseStyle = props => {
const {
isUnderlined
} = props;
return {
_text: {
textDecorationLine: isUnderlined ? 'underline' : 'none'
},
width: 'auto',
height: 'auto'
};
};
export default {
baseStyle,
defaultProps: {
isUnderlined: true
}
};
//# sourceMappingURL=link.js.map