forked from vergnet/application-amicale
29 lines
794 B
JavaScript
29 lines
794 B
JavaScript
|
// @flow
|
||
|
|
||
|
import { Platform } from "react-native";
|
||
|
|
||
|
import variable from "./../variables/platform";
|
||
|
|
||
|
export default (variables /*: * */ = variable) => {
|
||
|
const radioTheme = {
|
||
|
".selected": {
|
||
|
"NativeBase.IconNB": {
|
||
|
color: Platform.OS === "ios"
|
||
|
? variables.radioColor
|
||
|
: variables.radioSelectedColorAndroid,
|
||
|
lineHeight: Platform.OS === "ios" ? 25 : variables.radioBtnLineHeight,
|
||
|
height: Platform.OS === "ios" ? 20 : undefined
|
||
|
}
|
||
|
},
|
||
|
"NativeBase.IconNB": {
|
||
|
color: Platform.OS === "ios" ? "transparent" : undefined,
|
||
|
lineHeight: Platform.OS === "ios"
|
||
|
? undefined
|
||
|
: variables.radioBtnLineHeight,
|
||
|
fontSize: Platform.OS === "ios" ? undefined : variables.radioBtnSize
|
||
|
}
|
||
|
};
|
||
|
|
||
|
return radioTheme;
|
||
|
};
|