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

41 lines
638 B
JavaScript
Raw Normal View History

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