application-amicale/native-base-theme/components/Textarea.js
2020-01-28 20:07:21 +01:00

25 lines
547 B
JavaScript

// @flow
import variable from './../variables/platform';
export default (variables /* : * */ = variable) => {
const textAreaTheme = {
'.underline': {
borderBottomWidth: variables.borderWidth,
marginTop: 5,
borderColor: variables.inputBorderColor
},
'.bordered': {
borderWidth: 1,
marginTop: 5,
borderColor: variables.inputBorderColor
},
color: variables.textColor,
paddingLeft: 10,
paddingRight: 5,
fontSize: 15,
textAlignVertical: 'top'
};
return textAreaTheme;
};