UNPKG

native-widgets

Version:

The "native-widgets" npm package is designed to enhance the user interface development experience in React Native applications by providing a set of pre-designed native widgets or components. These components are built to closely mimic the native UI eleme

37 lines (35 loc) 691 B
import { StyleSheet } from 'react-native' export const styles = StyleSheet.create({ touchableHighlight: (buttonColor) => ({ alignItems: 'center', borderRadius: 8, flexDirection: 'row', backgroundColor: buttonColor, }), text: { color: 'white', letterSpacing: 0.8, textAlign: 'center', flex: 1, fontWeight: '600', fontSize: 16, }, btnImage: { marginRight: 10, width: 15, height: 15, }, ButtonActivity: { flexDirection: 'row', justifyContent: 'center', }, linearGradient: { flex: 1, paddingHorizontal: 2, paddingVertical: 2, borderRadius: 10, }, linearGradientStyle: { marginTop: 2, }, })