mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
866 B
27 lines
866 B
// @flow
|
|
|
|
import { Platform } from 'react-native';
|
|
|
|
import variable from '../variables/Platform';
|
|
import { PLATFORM } from '../variables/CommonColor';
|
|
|
|
export default (variables /* : * */ = variable) => {
|
|
const radioTheme = {
|
|
'.selected': {
|
|
'NativeBase.IconNB': {
|
|
color:
|
|
Platform.OS === PLATFORM.IOS ? variables.radioColor : variables.radioSelectedColorAndroid,
|
|
lineHeight: Platform.OS === PLATFORM.IOS ? 25 : variables.radioBtnLineHeight,
|
|
height: Platform.OS === PLATFORM.IOS ? 20 : undefined,
|
|
},
|
|
},
|
|
'NativeBase.IconNB': {
|
|
color: Platform.OS === PLATFORM.IOS ? 'transparent' : undefined,
|
|
lineHeight: Platform.OS === PLATFORM.IOS ? undefined : variables.radioBtnLineHeight,
|
|
fontSize: Platform.OS === PLATFORM.IOS ? undefined : variables.radioBtnSize,
|
|
},
|
|
};
|
|
|
|
return radioTheme;
|
|
};
|