Skip to main content

Interactive

Interactive is a pressable primitive that adds touch feedback to custom controls, such as cards or rows in a list.

Import

import { Interactive } from '@vortexlabs/vortex-native';
import type { InteractiveProps } from '@vortexlabs/vortex-native';

Other links

Interactive props
PropTypeDefaultAttributes
children
union
No default value
href
string
No default value
render
callback
No default value
onPress
callback
No default value
onLongPress
callback
No default value
haptic
union
No default value
disabled
boolean
false
delayPressIn
boolean
No default value
pressShrink
boolean
No default value
touchHitbox
boolean
No default value
style
union
No default value
attributes
object
No default value