React Native library
This project is maintained by iliubinskii
React Native library • Docs
React Native library / core/consts / consts
const
consts:object
readonly
AnimatedScrollView:object
readonly
largeSwipeThreshold:1600
=1600
readonly
movementThreshold:0.6
=0.6
readonly
smallSwipeThreshold:800
=800
readonly
Balloon:object
readonly
MeasuredBalloon:object
readonly
Background:object
readonly
roundnessFactor:2
=2
readonly
shadow: readonly [1
,2.1
,3.3
,4.6
]
readonly
strokeWidth:2
=2
readonly
svgPadding:6
=6
readonly
triangleHeight:40
=40
readonly
triangleOffset:0.3
=0.3
readonly
triangleWidth:0.3
=0.3
readonly
margin:10
=10
readonly
padding:10
=10
readonly
CandlestickChart:object
readonly
BaseChart:object
readonly
axisThickness:1
=1
readonly
barThickness:0.7
=0.7
readonly
dy:object
readonly
horizontalLabels:"0.7em"
="0.7em"
readonly
verticalLabels:"0.35em"
="0.35em"
readonly
fontFamily:"system-ui"
="system-ui"
readonly
fontSize:12
=12
readonly
gridThickness:0.2
=0.2
readonly
horizontalTextMargin:4
=4
readonly
verticalTextMargin:6
=6
readonly
Card:object
readonly
borderRadius:2
=2
readonly
gap:15
=15
readonly
marginEnd:-10
=-10
readonly
marginTop:-8
=-8
readonly
padding:20
=20
readonly
CheckboxRow:object
readonly
gap:4
=4
readonly
Chip:object
readonly
gap:5
=5
readonly
iconSize:24
=24
readonly
paddingHorizontal:5
=5
readonly
paddingVertical:3
=3
readonly
DateTimePicker:object
readonly
Calendar:object
readonly
daysInWeek:7
=7
readonly
format:object
readonly
monthYear:"MMM yyyy"
="MMM yyyy"
readonly
gap:8
=8
readonly
maxWeeks:6
=6
readonly
paddingVertical:2
=2
readonly
size:40
=40
readonly
Clock:object
readonly
buttonSize:45
=45
readonly
gap:8
=8
readonly
hourHandLength:40
=40
readonly
hourHandWidth1:4
=4
readonly
hourHandWidth2:2
=2
readonly
maxRadius:140
=140
readonly
minRadius:10
=10
readonly
minuteHandLength:80
=80
readonly
minuteHandWidth1:3
=3
readonly
minuteHandWidth2:1
=1
readonly
minutesStep:5
=5
readonly
numbers: readonly ["XII"
,"I"
,"II"
,"III"
,"IV"
,"V"
,"VI"
,"VII"
,"VIII"
,"IX"
,"X"
,"XI"
]
readonly
paddingHorizontal:16
=16
readonly
size:280
=280
readonly
smallNumber:1e-10
=1e-10
readonly
strokeWidth:2
=2
readonly
duration:50
=50
readonly
height:330
=330
readonly
iconPadding:10
=10
readonly
iconSize:22
=22
readonly
width:280
=280
readonly
Dense:object
readonly
Button:object
readonly
height:40
=40
readonly
paddingHorizontal:16
=16
readonly
Container:object
readonly
gap:10
=10
readonly
Row:object
readonly
gap:5
=5
readonly
Select:object
readonly
height:40
=40
readonly
TextInput:object
readonly
height:40
=40
readonly
paddingHorizontal:16
=16
readonly
ToggleButton:object
readonly
defaultSize:20
=20
readonly
padding:8
=8
readonly
Drawer:object
readonly
averageVelocity:0.8
=0.8
readonly
bottomPlaceholderHeight:1000
=1000
readonly
dragToOpenThreshold:50
=50
readonly
duration:250
=250
readonly
easing:object
readonly
maxDuration:1000
=1000
readonly
minDuration:150
=150
readonly
moveOutThreshold:object
readonly
delta:10
=10
readonly
high:0.8
=0.8
readonly
low:0.2
=0.2
readonly
offScreen:10000
=10_000
readonly
swipeThreshold:500
=500
readonly
EventsCalendar:object
readonly
Day:object
readonly
Item:object
readonly
fontSize:10
=10
readonly
lineHeight:12
=12
readonly
numberOfLines:3
=3
readonly
paddingHorizontal:3
=3
readonly
paddingVertical:2
=2
readonly
roundnessFactor:0.75
=0.75
readonly
gap:1
=1
readonly
padding:2
=2
readonly
borderWidth:0.5
=0.5
readonly
paddingVertical:2
=2
readonly
FlatList:object
readonly
delay:400
=400
readonly
scrollIndicatorMinHeight:10
=10
readonly
width:5
=5
readonly
Gesture:object
readonly
pan:object
readonly
minDistance:5
=5
readonly
Group:object
readonly
ActionButtons:object
readonly
gap:5
=5
readonly
marginBottom:-10
=-10
readonly
marginHorizontal:-10
=-10
readonly
ActionToggleButtons:object
readonly
gap:2.5
=2.5
readonly
marginBottom:-5
=-5
readonly
marginHorizontal:-5
=-5
readonly
CheckboxRows:object
readonly
gap:5
=5
readonly
Chips:object
readonly
gap:2.5
=2.5
readonly
Paragraphs:object
readonly
gap:5
=5
readonly
Sections:object
readonly
gap:17
=17
readonly
Selects:object
readonly
gap:10
=10
readonly
Subsections:object
readonly
gap:10
=10
readonly
SwitchRows:object
readonly
gap:10
=10
readonly
TextInputs:object
readonly
gap:10
=10
readonly
IconButton:object
readonly
alertIconEnd:-2
=-2
readonly
alertIconSize:16
=16
readonly
alertIconTop:-4
=-4
readonly
defaultPadding:10
=10
readonly
defaultSize:24
=24
readonly
IconPicker:object
readonly
cols:5
=5
readonly
margin:2
=2
readonly
padding:10
=10
readonly
rows:4
=4
readonly
size:24
=24
readonly
widthFactor:0.8
=0.8
readonly
InfoBlock:object
readonly
borderWidth:1
=1
readonly
padding:7
=7
readonly
List:object
readonly
Item:object
readonly
alertIconSize:16
=16
readonly
alertIconTranslateX:4
=4
readonly
alertIconTranslateY:-2
=-2
readonly
MenuCard:object
readonly
Container:object
readonly
gap:5
=5
readonly
padding:10
=10
readonly
Item:object
readonly
disabledOpacity:0.5
=0.5
readonly
gap:10
=10
readonly
iconSize:24
=24
readonly
loadingDelay:200
=200
readonly
padding:10
=10
readonly
MillePicker:object
readonly
slot1:object
readonly
largeSwipeSize:10
=10
readonly
largeSwipeStopInterval:5
=5
readonly
padding:2
=2
readonly
range: readonly [0
,99
]
readonly
smallSwipeSize:5
=5
readonly
smallSwipeStopInterval:5
=5
readonly
slot2:object
readonly
largeSwipeSize:10
=10
readonly
largeSwipeStopInterval:5
=5
readonly
padding:3
=3
readonly
range: readonly [0
,999
]
readonly
smallSwipeSize:5
=5
readonly
smallSwipeStopInterval:5
=5
readonly
step:50
=50
readonly
Select:object
readonly
captionPaddingHorizontal:4
=4
readonly
captionStart:12
=12
readonly
defaultMaxItems:1000000000
=1_000_000_000
readonly
defaultPlaceholder:"..."
="..."
readonly
elevation:3
=3
readonly
gap:2
=2
readonly
height:object
readonly
field:50
=50
readonly
options:50
=50
readonly
offset:3
=3
readonly
paddingHorizontal:16
=16
readonly
paddingTop:9
=9
readonly
Shakable:object
readonly
duration:800
=800
readonly
oscillations:3
=3
readonly
scale:0.1
=0.1
readonly
translateX:10
=10
readonly
Sheet:object
readonly
padding:20
=20
readonly
Slider:object
readonly
marginVertical:4
=4
readonly
SquareButton:object
readonly
paddingVertical:5
=5
readonly
roundness:1
=1
readonly
Swipeable:object
readonly
averageVelocity:0.8
=0.8
readonly
directionThreshold:0.5
=0.5
readonly
duration:1000
=1000
readonly
easing:object
readonly
maxDuration:300
=300
readonly
minDuration:150
=150
readonly
translateX:100
=100
readonly
velocityThreshold:700
=700
readonly
SwipeableTabBar:object
readonly
toggleThreshold:0.1
=0.1
readonly
SwitchRow:object
readonly
gap:8
=8
readonly
TextAlert:object
readonly
offsetEnd:4
=4
readonly
offsetTop:2
=2
readonly
size:16
=16
readonly
TimePicker:object
readonly
slot1:object
readonly
largeSwipeSize:12
=12
readonly
largeSwipeStopInterval:6
=6
readonly
padding:2
=2
readonly
range: readonly [0
,23
]
readonly
smallSwipeSize:6
=6
readonly
smallSwipeStopInterval:6
=6
readonly
slot2:object
readonly
largeSwipeSize:30
=30
readonly
largeSwipeStopInterval:15
=15
readonly
padding:2
=2
readonly
range: readonly [0
,59
]
readonly
smallSwipeSize:15
=15
readonly
smallSwipeStopInterval:15
=15
readonly
WheelPicker:object
readonly
BaseWheelPicker:object
readonly
Mask:object
readonly
colors: readonly ["rgba(0, 0, 0, 0.000)"
,"rgba(0, 0, 0, 0.042)"
,"rgba(0, 0, 0, 0.083)"
,"rgba(0, 0, 0, 0.124)"
,"rgba(0, 0, 0, 0.163)"
,"rgba(0, 0, 0, 0.200)"
,"rgba(0, 0, 0, 0.235)"
,"rgba(0, 0, 0, 0.268)"
,"rgba(0, 0, 0, 0.297)"
,"rgba(0, 0, 0, 0.324)"
,"rgba(0, 0, 0, 0.351)"
,"rgba(0, 0, 0, 0.445)"
,"rgba(0, 0, 0, 0.697)"
,"rgba(0, 0, 0, 0.920)"
,"rgba(0, 0, 0, 0.993)"
,"rgba(0, 0, 0, 1.000)"
,"rgba(0, 0, 0, 0.993)"
,"rgba(0, 0, 0, 0.920)"
,"rgba(0, 0, 0, 0.697)"
,"rgba(0, 0, 0, 0.445)"
,"rgba(0, 0, 0, 0.351)"
,"rgba(0, 0, 0, 0.324)"
,"rgba(0, 0, 0, 0.297)"
,"rgba(0, 0, 0, 0.268)"
,"rgba(0, 0, 0, 0.235)"
,"rgba(0, 0, 0, 0.200)"
,"rgba(0, 0, 0, 0.163)"
,"rgba(0, 0, 0, 0.124)"
,"rgba(0, 0, 0, 0.083)"
,"rgba(0, 0, 0, 0.042)"
,"rgba(0, 0, 0, 0.000)"
]
readonly
copies:5
=5
readonly
fontAspectRatio:0.55
=0.55
readonly
fontFamily:"monospace"
="monospace"
readonly
fontSize:30
=30
readonly
overflowThreshold:0.99
=0.99
readonly
padding:12
=12
readonly
snapAnimationConfig:object
readonly
duration:150
=150
readonly
easing:object
readonly
swipeAnimationConfig:object
readonly
averageVelocity:0.3
=0.3
readonly
easing:object
readonly
maxDuration:1500
=1500
readonly
minDuration:300
=300
readonly
tickThreshold:0.99
=0.99
readonly
volume:0.05
=0.05
readonly
Border:object
readonly
Mask:object
readonly
colors: readonly ["rgba(0, 0, 0, 0.000)"
,"rgba(0, 0, 0, 0.042)"
,"rgba(0, 0, 0, 0.083)"
,"rgba(0, 0, 0, 0.124)"
,"rgba(0, 0, 0, 0.163)"
,"rgba(0, 0, 0, 0.200)"
,"rgba(0, 0, 0, 0.235)"
,"rgba(0, 0, 0, 0.268)"
,"rgba(0, 0, 0, 0.297)"
,"rgba(0, 0, 0, 0.324)"
,"rgba(0, 0, 0, 0.346)"
,"rgba(0, 0, 0, 0.365)"
,"rgba(0, 0, 0, 0.380)"
,"rgba(0, 0, 0, 0.391)"
,"rgba(0, 0, 0, 0.398)"
,"rgba(0, 0, 0, 0.400)"
,"rgba(0, 0, 0, 0.398)"
,"rgba(0, 0, 0, 0.391)"
,"rgba(0, 0, 0, 0.380)"
,"rgba(0, 0, 0, 0.365)"
,"rgba(0, 0, 0, 0.346)"
,"rgba(0, 0, 0, 0.324)"
,"rgba(0, 0, 0, 0.297)"
,"rgba(0, 0, 0, 0.268)"
,"rgba(0, 0, 0, 0.235)"
,"rgba(0, 0, 0, 0.200)"
,"rgba(0, 0, 0, 0.163)"
,"rgba(0, 0, 0, 0.124)"
,"rgba(0, 0, 0, 0.083)"
,"rgba(0, 0, 0, 0.042)"
,"rgba(0, 0, 0, 0.000)"
]
readonly
height:number
readonly
size:5
=5
readonly
functions:object
readonly
ripple:object
readonly
alpha:0.12
=0.12
readonly
icons:object
readonly
defaultSize:24
=24
readonly
snackbar:object
readonly
bottom:8
=8
readonly
end:8
=8
readonly
start:8
=8
readonly
springAnimation:object
readonly
damping:7
=7
readonly
mass:0.4
=0.4
readonly
smallNumber:1e-10
=1e-10
readonly
stiffness:80
=80
readonly
useCalendar:object
readonly
daysInWeek:7
=7
readonly
friday:5
=5
readonly
maxWeeks:6
=6
readonly
saturday:6
=6
readonly
sunday:0
=0