Skip to content

Commit 2490ab2

Browse files
committed
added constants
1 parent 0ccbb3a commit 2490ab2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

constants.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
export const touchableTypes = {
3+
fade: 0,
4+
fadeContent: 1,
5+
highlight: 2,
6+
blur: 3,
7+
}
8+
9+
export const SYSTEM_OPACITY = 0.2
10+
export const NOOP = () => {}
11+
export const EMPTY_OBJECT = {}
12+
13+
export const DEFAULT_SHADOW_COLOR = '#fff'
14+
export const DEFAULT_SHADOW_OPACITY = 1
15+
export const DEFAULT_SHADOW_ANIMATED = true
16+
export const DEFAULT_SHADOW_DURATION = 150
17+
18+
export default {
19+
touchableTypes,
20+
}

0 commit comments

Comments
 (0)