application-amicale/native-base-theme/components/Thumbnail.js

43 lines
724 B
JavaScript
Raw Normal View History

2019-06-25 22:20:24 +02:00
// @flow
import variable from './../variables/platform';
export default (variables /*: * */ = variable) => {
const thumbnailTheme = {
'.square': {
borderRadius: 0,
'.small': {
width: 36,
height: 36,
borderRadius: 0,
},
'.large': {
width: 80,
height: 80,
borderRadius: 0,
},
},
'.small': {
width: 36,
height: 36,
borderRadius: 18,
'.square': {
borderRadius: 0,
},
},
'.large': {
width: 80,
height: 80,
borderRadius: 40,
'.square': {
borderRadius: 0,
},
},
width: 56,
height: 56,
borderRadius: 28,
};
return thumbnailTheme;
};