forked from marcocesarato/react-native-input-spinner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.js
More file actions
44 lines (42 loc) · 824 Bytes
/
style.js
File metadata and controls
44 lines (42 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* Input Spinner - Style
* @author Marco Cesarato <cesarato.developer@gmail.com>
*/
import {StyleSheet} from "react-native";
export const Style = StyleSheet.create({
container: {
borderWidth: 0.5,
borderRadius: 4,
flexDirection: "row",
overflow: "hidden",
width: 150,
},
buttonLeft: {
alignItems: "center",
justifyContent: "center",
borderRadius: 2,
borderBottomRightRadius: 0,
borderTopRightRadius: 0,
},
buttonRight: {
alignItems: "center",
justifyContent: "center",
borderRadius: 2,
borderBottomLeftRadius: 0,
borderTopLeftRadius: 0,
},
buttonRounded: {
alignItems: "center",
justifyContent: "center",
borderRadius: 999,
},
buttonText: {
color: "white",
textAlign: "center",
},
numberText: {
flex: 1,
textAlign: "center",
justifyContent: "center",
},
});