react-native-misc

React Native library

This project is maintained by iliubinskii

React Native libraryDocs


React Native library / core/consts / consts

Variable: consts

const consts: object

Type declaration

AnimatedScrollView

readonly AnimatedScrollView: object

AnimatedScrollView.largeSwipeThreshold

readonly largeSwipeThreshold: 1600 = 1600

AnimatedScrollView.movementThreshold

readonly movementThreshold: 0.6 = 0.6

AnimatedScrollView.smallSwipeThreshold

readonly smallSwipeThreshold: 800 = 800

Balloon

readonly Balloon: object

Balloon.MeasuredBalloon

readonly MeasuredBalloon: object

Balloon.MeasuredBalloon.Background

readonly Background: object

Balloon.MeasuredBalloon.Background.roundnessFactor

readonly roundnessFactor: 2 = 2

Balloon.MeasuredBalloon.Background.shadow

readonly shadow: readonly [1, 2.1, 3.3, 4.6]

Balloon.MeasuredBalloon.Background.strokeWidth

readonly strokeWidth: 2 = 2

Balloon.MeasuredBalloon.Background.svgPadding

readonly svgPadding: 6 = 6

Balloon.MeasuredBalloon.Background.triangleHeight

readonly triangleHeight: 40 = 40

Balloon.MeasuredBalloon.Background.triangleOffset

readonly triangleOffset: 0.3 = 0.3

Balloon.MeasuredBalloon.Background.triangleWidth

readonly triangleWidth: 0.3 = 0.3

Balloon.margin

readonly margin: 10 = 10

Balloon.padding

readonly padding: 10 = 10

CandlestickChart

readonly CandlestickChart: object

CandlestickChart.BaseChart

readonly BaseChart: object

CandlestickChart.BaseChart.axisThickness

readonly axisThickness: 1 = 1

CandlestickChart.BaseChart.barThickness

readonly barThickness: 0.7 = 0.7

CandlestickChart.BaseChart.dy

readonly dy: object

CandlestickChart.BaseChart.dy.horizontalLabels

readonly horizontalLabels: "0.7em" = "0.7em"

CandlestickChart.BaseChart.dy.verticalLabels

readonly verticalLabels: "0.35em" = "0.35em"

CandlestickChart.BaseChart.fontFamily

readonly fontFamily: "system-ui" = "system-ui"

CandlestickChart.BaseChart.fontSize

readonly fontSize: 12 = 12

CandlestickChart.BaseChart.gridThickness

readonly gridThickness: 0.2 = 0.2

CandlestickChart.BaseChart.horizontalTextMargin

readonly horizontalTextMargin: 4 = 4

CandlestickChart.BaseChart.verticalTextMargin

readonly verticalTextMargin: 6 = 6

Card

readonly Card: object

Card.borderRadius

readonly borderRadius: 2 = 2

Card.gap

readonly gap: 15 = 15

Card.marginEnd

readonly marginEnd: -10 = -10

Card.marginTop

readonly marginTop: -8 = -8

Card.padding

readonly padding: 20 = 20

CheckboxRow

readonly CheckboxRow: object

CheckboxRow.gap

readonly gap: 4 = 4

Chip

readonly Chip: object

Chip.gap

readonly gap: 5 = 5

Chip.iconSize

readonly iconSize: 24 = 24

Chip.paddingHorizontal

readonly paddingHorizontal: 5 = 5

Chip.paddingVertical

readonly paddingVertical: 3 = 3

DateTimePicker

readonly DateTimePicker: object

DateTimePicker.Calendar

readonly Calendar: object

DateTimePicker.Calendar.daysInWeek

readonly daysInWeek: 7 = 7

DateTimePicker.Calendar.format

readonly format: object

DateTimePicker.Calendar.format.monthYear

readonly monthYear: "MMM yyyy" = "MMM yyyy"

DateTimePicker.Calendar.gap

readonly gap: 8 = 8

DateTimePicker.Calendar.maxWeeks

readonly maxWeeks: 6 = 6

DateTimePicker.Calendar.paddingVertical

readonly paddingVertical: 2 = 2

DateTimePicker.Calendar.size

readonly size: 40 = 40

DateTimePicker.Clock

readonly Clock: object

DateTimePicker.Clock.buttonSize

readonly buttonSize: 45 = 45

DateTimePicker.Clock.gap

readonly gap: 8 = 8

DateTimePicker.Clock.hourHandLength

readonly hourHandLength: 40 = 40

DateTimePicker.Clock.hourHandWidth1

readonly hourHandWidth1: 4 = 4

DateTimePicker.Clock.hourHandWidth2

readonly hourHandWidth2: 2 = 2

DateTimePicker.Clock.maxRadius

readonly maxRadius: 140 = 140

DateTimePicker.Clock.minRadius

readonly minRadius: 10 = 10

DateTimePicker.Clock.minuteHandLength

readonly minuteHandLength: 80 = 80

DateTimePicker.Clock.minuteHandWidth1

readonly minuteHandWidth1: 3 = 3

DateTimePicker.Clock.minuteHandWidth2

readonly minuteHandWidth2: 1 = 1

DateTimePicker.Clock.minutesStep

readonly minutesStep: 5 = 5

DateTimePicker.Clock.numbers

readonly numbers: readonly ["XII", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI"]

DateTimePicker.Clock.paddingHorizontal

readonly paddingHorizontal: 16 = 16

DateTimePicker.Clock.size

readonly size: 280 = 280

DateTimePicker.Clock.smallNumber

readonly smallNumber: 1e-10 = 1e-10

DateTimePicker.Clock.strokeWidth

readonly strokeWidth: 2 = 2

DateTimePicker.duration

readonly duration: 50 = 50

DateTimePicker.height

readonly height: 330 = 330

DateTimePicker.iconPadding

readonly iconPadding: 10 = 10

DateTimePicker.iconSize

readonly iconSize: 22 = 22

DateTimePicker.width

readonly width: 280 = 280

Dense

readonly Dense: object

Dense.Button

readonly Button: object

Dense.Button.height

readonly height: 40 = 40

Dense.Button.paddingHorizontal

readonly paddingHorizontal: 16 = 16

Dense.Container

readonly Container: object

Dense.Container.gap

readonly gap: 10 = 10

Dense.Row

readonly Row: object

Dense.Row.gap

readonly gap: 5 = 5

Dense.Select

readonly Select: object

Dense.Select.height

readonly height: 40 = 40

Dense.TextInput

readonly TextInput: object

Dense.TextInput.height

readonly height: 40 = 40

Dense.TextInput.paddingHorizontal

readonly paddingHorizontal: 16 = 16

Dense.ToggleButton

readonly ToggleButton: object

Dense.ToggleButton.defaultSize

readonly defaultSize: 20 = 20

Dense.ToggleButton.padding

readonly padding: 8 = 8

Drawer

readonly Drawer: object

Drawer.averageVelocity

readonly averageVelocity: 0.8 = 0.8

Drawer.bottomPlaceholderHeight

readonly bottomPlaceholderHeight: 1000 = 1000

Drawer.dragToOpenThreshold

readonly dragToOpenThreshold: 50 = 50

Drawer.duration

readonly duration: 250 = 250

Drawer.easing

readonly easing: object

Drawer.maxDuration

readonly maxDuration: 1000 = 1000

Drawer.minDuration

readonly minDuration: 150 = 150

Drawer.moveOutThreshold

readonly moveOutThreshold: object

Drawer.moveOutThreshold.delta

readonly delta: 10 = 10

Drawer.moveOutThreshold.high

readonly high: 0.8 = 0.8

Drawer.moveOutThreshold.low

readonly low: 0.2 = 0.2

Drawer.offScreen

readonly offScreen: 10000 = 10_000

Drawer.swipeThreshold

readonly swipeThreshold: 500 = 500

EventsCalendar

readonly EventsCalendar: object

EventsCalendar.Day

readonly Day: object

EventsCalendar.Day.Item

readonly Item: object

EventsCalendar.Day.Item.fontSize

readonly fontSize: 10 = 10

EventsCalendar.Day.Item.lineHeight

readonly lineHeight: 12 = 12

EventsCalendar.Day.Item.numberOfLines

readonly numberOfLines: 3 = 3

EventsCalendar.Day.Item.paddingHorizontal

readonly paddingHorizontal: 3 = 3

EventsCalendar.Day.Item.paddingVertical

readonly paddingVertical: 2 = 2

EventsCalendar.Day.Item.roundnessFactor

readonly roundnessFactor: 0.75 = 0.75

EventsCalendar.Day.gap

readonly gap: 1 = 1

EventsCalendar.Day.padding

readonly padding: 2 = 2

EventsCalendar.borderWidth

readonly borderWidth: 0.5 = 0.5

EventsCalendar.paddingVertical

readonly paddingVertical: 2 = 2

FlatList

readonly FlatList: object

FlatList.delay

readonly delay: 400 = 400

FlatList.scrollIndicatorMinHeight

readonly scrollIndicatorMinHeight: 10 = 10

FlatList.width

readonly width: 5 = 5

Gesture

readonly Gesture: object

Gesture.pan

readonly pan: object

Gesture.pan.minDistance

readonly minDistance: 5 = 5

Group

readonly Group: object

Group.ActionButtons

readonly ActionButtons: object

Group.ActionButtons.gap

readonly gap: 5 = 5

Group.ActionButtons.marginBottom

readonly marginBottom: -10 = -10

Group.ActionButtons.marginHorizontal

readonly marginHorizontal: -10 = -10

Group.ActionToggleButtons

readonly ActionToggleButtons: object

Group.ActionToggleButtons.gap

readonly gap: 2.5 = 2.5

Group.ActionToggleButtons.marginBottom

readonly marginBottom: -5 = -5

Group.ActionToggleButtons.marginHorizontal

readonly marginHorizontal: -5 = -5

Group.CheckboxRows

readonly CheckboxRows: object

Group.CheckboxRows.gap

readonly gap: 5 = 5

Group.Chips

readonly Chips: object

Group.Chips.gap

readonly gap: 2.5 = 2.5

Group.Paragraphs

readonly Paragraphs: object

Group.Paragraphs.gap

readonly gap: 5 = 5

Group.Sections

readonly Sections: object

Group.Sections.gap

readonly gap: 17 = 17

Group.Selects

readonly Selects: object

Group.Selects.gap

readonly gap: 10 = 10

Group.Subsections

readonly Subsections: object

Group.Subsections.gap

readonly gap: 10 = 10

Group.SwitchRows

readonly SwitchRows: object

Group.SwitchRows.gap

readonly gap: 10 = 10

Group.TextInputs

readonly TextInputs: object

Group.TextInputs.gap

readonly gap: 10 = 10

IconButton

readonly IconButton: object

IconButton.alertIconEnd

readonly alertIconEnd: -2 = -2

IconButton.alertIconSize

readonly alertIconSize: 16 = 16

IconButton.alertIconTop

readonly alertIconTop: -4 = -4

IconButton.defaultPadding

readonly defaultPadding: 10 = 10

IconButton.defaultSize

readonly defaultSize: 24 = 24

IconPicker

readonly IconPicker: object

IconPicker.cols

readonly cols: 5 = 5

IconPicker.margin

readonly margin: 2 = 2

IconPicker.padding

readonly padding: 10 = 10

IconPicker.rows

readonly rows: 4 = 4

IconPicker.size

readonly size: 24 = 24

IconPicker.widthFactor

readonly widthFactor: 0.8 = 0.8

InfoBlock

readonly InfoBlock: object

InfoBlock.borderWidth

readonly borderWidth: 1 = 1

InfoBlock.padding

readonly padding: 7 = 7

List

readonly List: object

List.Item

readonly Item: object

List.Item.alertIconSize

readonly alertIconSize: 16 = 16

List.Item.alertIconTranslateX

readonly alertIconTranslateX: 4 = 4

List.Item.alertIconTranslateY

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

MillePicker

readonly MillePicker: object

MillePicker.slot1

readonly slot1: object

MillePicker.slot1.largeSwipeSize

readonly largeSwipeSize: 10 = 10

MillePicker.slot1.largeSwipeStopInterval

readonly largeSwipeStopInterval: 5 = 5

MillePicker.slot1.padding

readonly padding: 2 = 2

MillePicker.slot1.range

readonly range: readonly [0, 99]

MillePicker.slot1.smallSwipeSize

readonly smallSwipeSize: 5 = 5

MillePicker.slot1.smallSwipeStopInterval

readonly smallSwipeStopInterval: 5 = 5

MillePicker.slot2

readonly slot2: object

MillePicker.slot2.largeSwipeSize

readonly largeSwipeSize: 10 = 10

MillePicker.slot2.largeSwipeStopInterval

readonly largeSwipeStopInterval: 5 = 5

MillePicker.slot2.padding

readonly padding: 3 = 3

MillePicker.slot2.range

readonly range: readonly [0, 999]

MillePicker.slot2.smallSwipeSize

readonly smallSwipeSize: 5 = 5

MillePicker.slot2.smallSwipeStopInterval

readonly smallSwipeStopInterval: 5 = 5

MillePicker.slot2.step

readonly step: 50 = 50

Select

readonly Select: object

Select.captionPaddingHorizontal

readonly captionPaddingHorizontal: 4 = 4

Select.captionStart

readonly captionStart: 12 = 12

Select.defaultMaxItems

readonly defaultMaxItems: 1000000000 = 1_000_000_000

Select.defaultPlaceholder

readonly defaultPlaceholder: "..." = "..."

Select.elevation

readonly elevation: 3 = 3

Select.gap

readonly gap: 2 = 2

Select.height

readonly height: object

Select.height.field

readonly field: 50 = 50

Select.height.options

readonly options: 50 = 50

Select.offset

readonly offset: 3 = 3

Select.paddingHorizontal

readonly paddingHorizontal: 16 = 16

Select.paddingTop

readonly paddingTop: 9 = 9

Shakable

readonly Shakable: object

Shakable.duration

readonly duration: 800 = 800

Shakable.oscillations

readonly oscillations: 3 = 3

Shakable.scale

readonly scale: 0.1 = 0.1

Shakable.translateX

readonly translateX: 10 = 10

Sheet

readonly Sheet: object

Sheet.padding

readonly padding: 20 = 20

Slider

readonly Slider: object

Slider.marginVertical

readonly marginVertical: 4 = 4

SquareButton

readonly SquareButton: object

SquareButton.paddingVertical

readonly paddingVertical: 5 = 5

SquareButton.roundness

readonly roundness: 1 = 1

Swipeable

readonly Swipeable: object

Swipeable.averageVelocity

readonly averageVelocity: 0.8 = 0.8

Swipeable.directionThreshold

readonly directionThreshold: 0.5 = 0.5

Swipeable.duration

readonly duration: 1000 = 1000

Swipeable.easing

readonly easing: object

Swipeable.maxDuration

readonly maxDuration: 300 = 300

Swipeable.minDuration

readonly minDuration: 150 = 150

Swipeable.translateX

readonly translateX: 100 = 100

Swipeable.velocityThreshold

readonly velocityThreshold: 700 = 700

SwipeableTabBar

readonly SwipeableTabBar: object

SwipeableTabBar.toggleThreshold

readonly toggleThreshold: 0.1 = 0.1

SwitchRow

readonly SwitchRow: object

SwitchRow.gap

readonly gap: 8 = 8

TextAlert

readonly TextAlert: object

TextAlert.offsetEnd

readonly offsetEnd: 4 = 4

TextAlert.offsetTop

readonly offsetTop: 2 = 2

TextAlert.size

readonly size: 16 = 16

TimePicker

readonly TimePicker: object

TimePicker.slot1

readonly slot1: object

TimePicker.slot1.largeSwipeSize

readonly largeSwipeSize: 12 = 12

TimePicker.slot1.largeSwipeStopInterval

readonly largeSwipeStopInterval: 6 = 6

TimePicker.slot1.padding

readonly padding: 2 = 2

TimePicker.slot1.range

readonly range: readonly [0, 23]

TimePicker.slot1.smallSwipeSize

readonly smallSwipeSize: 6 = 6

TimePicker.slot1.smallSwipeStopInterval

readonly smallSwipeStopInterval: 6 = 6

TimePicker.slot2

readonly slot2: object

TimePicker.slot2.largeSwipeSize

readonly largeSwipeSize: 30 = 30

TimePicker.slot2.largeSwipeStopInterval

readonly largeSwipeStopInterval: 15 = 15

TimePicker.slot2.padding

readonly padding: 2 = 2

TimePicker.slot2.range

readonly range: readonly [0, 59]

TimePicker.slot2.smallSwipeSize

readonly smallSwipeSize: 15 = 15

TimePicker.slot2.smallSwipeStopInterval

readonly smallSwipeStopInterval: 15 = 15

WheelPicker

readonly WheelPicker: object

WheelPicker.BaseWheelPicker

readonly BaseWheelPicker: object

WheelPicker.BaseWheelPicker.Mask

readonly Mask: object

WheelPicker.BaseWheelPicker.Mask.colors

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)"]

WheelPicker.BaseWheelPicker.copies

readonly copies: 5 = 5

WheelPicker.BaseWheelPicker.fontAspectRatio

readonly fontAspectRatio: 0.55 = 0.55

WheelPicker.BaseWheelPicker.fontFamily

readonly fontFamily: "monospace" = "monospace"

WheelPicker.BaseWheelPicker.fontSize

readonly fontSize: 30 = 30

WheelPicker.BaseWheelPicker.overflowThreshold

readonly overflowThreshold: 0.99 = 0.99

WheelPicker.BaseWheelPicker.padding

readonly padding: 12 = 12

WheelPicker.BaseWheelPicker.snapAnimationConfig

readonly snapAnimationConfig: object

WheelPicker.BaseWheelPicker.snapAnimationConfig.duration

readonly duration: 150 = 150

WheelPicker.BaseWheelPicker.snapAnimationConfig.easing

readonly easing: object

WheelPicker.BaseWheelPicker.swipeAnimationConfig

readonly swipeAnimationConfig: object

WheelPicker.BaseWheelPicker.swipeAnimationConfig.averageVelocity

readonly averageVelocity: 0.3 = 0.3

WheelPicker.BaseWheelPicker.swipeAnimationConfig.easing

readonly easing: object

WheelPicker.BaseWheelPicker.swipeAnimationConfig.maxDuration

readonly maxDuration: 1500 = 1500

WheelPicker.BaseWheelPicker.swipeAnimationConfig.minDuration

readonly minDuration: 300 = 300

WheelPicker.BaseWheelPicker.tickThreshold

readonly tickThreshold: 0.99 = 0.99

WheelPicker.BaseWheelPicker.volume

readonly volume: 0.05 = 0.05

WheelPicker.Border

readonly Border: object

WheelPicker.Border.Mask

readonly Mask: object

WheelPicker.Border.Mask.colors

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)"]

WheelPicker.height

readonly height: number

WheelPicker.size

readonly size: 5 = 5

functions

readonly functions: object

functions.ripple

readonly ripple: object

functions.ripple.alpha

readonly alpha: 0.12 = 0.12

icons

readonly icons: object

icons.defaultSize

readonly defaultSize: 24 = 24

snackbar

readonly snackbar: object

snackbar.bottom

readonly bottom: 8 = 8

snackbar.end

readonly end: 8 = 8

snackbar.start

readonly start: 8 = 8

springAnimation

readonly springAnimation: object

springAnimation.damping

readonly damping: 7 = 7

springAnimation.mass

readonly mass: 0.4 = 0.4

springAnimation.smallNumber

readonly smallNumber: 1e-10 = 1e-10

springAnimation.stiffness

readonly stiffness: 80 = 80

useCalendar

readonly useCalendar: object

useCalendar.daysInWeek

readonly daysInWeek: 7 = 7

useCalendar.friday

readonly friday: 5 = 5

useCalendar.maxWeeks

readonly maxWeeks: 6 = 6

useCalendar.saturday

readonly saturday: 6 = 6

useCalendar.sunday

readonly sunday: 0 = 0