Skip to content

Interface: SpriteStudioViewProps ​

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:37

The rest are a <View>'s own — testID, the accessibility props, pointerEvents, onLayout — and reach the view unchanged.

Extends ​

Properties ​

accessibilityActions? ​

readonly optional accessibilityActions?: readonly Readonly<{ label?: string; name: string; }>[]

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:265

Provides an array of custom actions available for accessibility.

Inherited from ​

Omit.accessibilityActions


accessibilityElementsHidden? ​

readonly optional accessibilityElementsHidden?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:193

A value indicating whether the accessibility elements contained within this accessibility element are hidden.

Platform ​

ios

See https://reactnative.dev/docs/view#accessibilityElementsHidden

Inherited from ​

Omit.accessibilityElementsHidden


accessibilityHint? ​

readonly optional accessibilityHint?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:234

An accessibility hint helps users understand what will happen when they perform an action on the accessibility element when that result is not obvious from the accessibility label.

See https://reactnative.dev/docs/view#accessibilityHint

Inherited from ​

Omit.accessibilityHint


accessibilityIgnoresInvertColors? ​

readonly optional accessibilityIgnoresInvertColors?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:149

Prevents view from being inverted if set to true and color inversion is turned on.

Platform ​

ios

Inherited from ​

Omit.accessibilityIgnoresInvertColors


accessibilityLabel? ​

readonly optional accessibilityLabel?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:225

Overrides the text that's read by the screen reader when the user interacts with the element. By default, the label is constructed by traversing all the children and accumulating all the Text nodes separated by space.

See https://reactnative.dev/docs/view#accessibilitylabel

Inherited from ​

Omit.accessibilityLabel


accessibilityLabelledBy? ​

readonly optional accessibilityLabelledBy?: string | string[]

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:93

Identifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props, the text is read aloud. The value should should match the nativeID of the related element.

Platform ​

android

Inherited from ​

Omit.accessibilityLabelledBy


accessibilityLanguage? ​

readonly optional accessibilityLanguage?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:201

Indicates to the accessibility services that the UI component is in a specific language. The provided string should be formatted following the BCP 47 specification (https://www.rfc-editor.org/info/bcp47).

Platform ​

ios

Inherited from ​

Omit.accessibilityLanguage


accessibilityLargeContentTitle? ​

readonly optional accessibilityLargeContentTitle?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:176

When accessibilityShowsLargeContentViewer is set, this string will be used as title for the large content viewer.

Platform ​

ios

See https://reactnative.dev/docs/view#accessibilitylargecontenttitle

Inherited from ​

Omit.accessibilityLargeContentTitle


accessibilityLiveRegion? ​

readonly optional accessibilityLiveRegion?: "none" | "polite" | "assertive"

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:109

Indicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.

Platform ​

android

See https://reactnative.dev/docs/view#accessibilityliveregion

Inherited from ​

Omit.accessibilityLiveRegion


accessibilityRespondsToUserInteraction? ​

readonly optional accessibilityRespondsToUserInteraction?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:208

Blocks the user from interacting with the component through keyboard while still allowing screen reader to interact with it if this View is still accessible.

Platform ​

ios

Inherited from ​

Omit.accessibilityRespondsToUserInteraction


accessibilityRole? ​

readonly optional accessibilityRole?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:243

Indicates to accessibility services to treat UI component like a specific role.

Inherited from ​

Omit.accessibilityRole


accessibilityShowsLargeContentViewer? ​

readonly optional accessibilityShowsLargeContentViewer?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:168

A Boolean value that indicates whether or not to show the item in the large content viewer. Available on iOS 13.0+

Platform ​

ios

See https://reactnative.dev/docs/view#accessibilityshowslargecontentviewer

Inherited from ​

Omit.accessibilityShowsLargeContentViewer


accessibilityState? ​

readonly optional accessibilityState?: AccessibilityState

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:251

Indicates to accessibility services that UI Component is in a specific State.

Inherited from ​

Omit.accessibilityState


accessibilityValue? ​

readonly optional accessibilityValue?: Readonly<{ max?: number; min?: number; now?: number; text?: string; }>

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:252

Inherited from ​

Omit.accessibilityValue


accessibilityViewIsModal? ​

readonly optional accessibilityViewIsModal?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:159

A value indicating whether VoiceOver should ignore the elements within views that are siblings of the receiver. Default is false.

Platform ​

ios

See https://reactnative.dev/docs/view#accessibilityviewismodal

Inherited from ​

Omit.accessibilityViewIsModal


accessible? ​

readonly optional accessible?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:217

When true, indicates that the view is an accessibility element. By default, all the touchable elements are accessible.

See https://reactnative.dev/docs/view#accessible

Inherited from ​

Omit.accessible


align? ​

optional align?: SsAlign

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:52

Which point of the art lands on the matching point of the view.


animation? ​

optional animation?: string

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:34

Which animation in the pack. Omitted, the pack's first one plays.

Inherited from ​

SsPlayerProps.animation


aria-busy? ​

readonly optional aria-busy?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:271

alias for accessibilityState

see https://reactnative.dev/docs/accessibility#accessibilitystate

Inherited from ​

Omit.aria-busy


aria-checked? ​

readonly optional aria-checked?: boolean | "mixed"

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:272

Inherited from ​

Omit.aria-checked


aria-disabled? ​

readonly optional aria-disabled?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:273

Inherited from ​

Omit.aria-disabled


aria-expanded? ​

readonly optional aria-expanded?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:274

Inherited from ​

Omit.aria-expanded


aria-hidden? ​

readonly optional aria-hidden?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:281

A value indicating whether the accessibility elements contained within this accessibility element are hidden.

See https://reactnative.dev/docs/view#aria-hidden

Inherited from ​

Omit.aria-hidden


aria-label? ​

readonly optional aria-label?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:239

Alias for accessibilityLabel https://reactnative.dev/docs/view#accessibilitylabelhttps://github.com/facebook/react-native/issues/34424

Inherited from ​

Omit.aria-label


aria-labelledby? ​

readonly optional aria-labelledby?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:100

Identifies the element that labels the element it is applied to. When the assistive technology focuses on the component with this props, the text is read aloud. The value should should match the nativeID of the related element.

Platform ​

android

Inherited from ​

Omit.aria-labelledby


aria-live? ​

readonly optional aria-live?: "polite" | "assertive" | "off"

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:118

Indicates to accessibility services whether the user should be notified when this view changes. Works for Android API >= 19 only.

Platform ​

android

See https://reactnative.dev/docs/view#accessibilityliveregion

Inherited from ​

Omit.aria-live


aria-modal? ​

readonly optional aria-modal?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:184

The aria-modal attribute indicates content contained within a modal with aria-modal="true" should be accessible to the user. Default is false.

Platform ​

ios

Inherited from ​

Omit.aria-modal


aria-selected? ​

readonly optional aria-selected?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:275

Inherited from ​

Omit.aria-selected


aria-valuemax? ​

readonly optional aria-valuemax?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:257

alias for accessibilityState It represents textual description of a component's value, or for range-based components, such as sliders and progress bars.

Inherited from ​

Omit.aria-valuemax


aria-valuemin? ​

readonly optional aria-valuemin?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:258

Inherited from ​

Omit.aria-valuemin


aria-valuenow? ​

readonly optional aria-valuenow?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:259

Inherited from ​

Omit.aria-valuenow


aria-valuetext? ​

readonly optional aria-valuetext?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:260

Inherited from ​

Omit.aria-valuetext


children? ​

optional children?: ReactNode

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:74

Laid over the animation, covering the view's box — where a <SpriteStudioPartAnchor> finds its player. Mounted with the first drawable frame, not over the placeholder.


collapsable? ​

readonly optional collapsable?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:402

Views that are only used to layout their children or otherwise don't draw anything may be automatically removed from the native hierarchy as an optimization. Set this property to false to disable this optimization and ensure that this View exists in the native view hierarchy.

Default ​

true

Inherited from ​

Omit.collapsable


collapsableChildren? ​

readonly optional collapsableChildren?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:410

Setting to false prevents direct children of the view from being removed from the native view hierarchy, similar to the effect of setting collapsable={false} on each child.

Default ​

true

Inherited from ​

Omit.collapsableChildren


experimental_accessibilityOrder? ​

readonly optional experimental_accessibilityOrder?: string[]

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:492

Defines the order in which descendant elements receive accessibility focus. The elements in the array represent nativeID values for the respective descendant elements.

Inherited from ​

Omit.experimental_accessibilityOrder


fit? ​

optional fit?: SsFit

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:57

How the content box is scaled to the view. Default 'contain'.

Inherited from ​

SsPlayerProps.fit


flipX? ​

optional flipX?: boolean

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:53


flipY? ​

optional flipY?: boolean

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:54


focusable? ​

readonly optional focusable?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:312

Whether this View should be focusable with a non-touch input device, eg. receive focus with a hardware keyboard.

Platform ​

android

Inherited from ​

Omit.focusable


frame? ​

optional frame?: SsBox

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:59

The content box, in player-local units. Omitted, the animation's authored canvas.

Inherited from ​

SsPlayerProps.frame


frameScope? ​

optional frameScope?: SsFrameScope

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:64

Measure the box instead of using the authored canvas — over this animation or the whole pack. Omitted, nothing is measured.

Inherited from ​

SsPlayerProps.frameScope


hasTVPreferredFocus? ​

readonly optional hasTVPreferredFocus?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:271

Whether to force the Android TV focus engine to move focus to this view.

Platform ​

android

Deprecated ​

Use focusable instead

Inherited from ​

Omit.hasTVPreferredFocus


hitSlop? ​

readonly optional hitSlop?: RectOrSize

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:464

This defines how far a touch event can start away from the view. Typical interface guidelines recommend touch targets that are at least 30 - 40 points/density-independent pixels.

The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.

See https://reactnative.dev/docs/view#hitslop

Inherited from ​

Omit.hitSlop


id? ​

readonly optional id?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:418

Used to locate this view from native classes. Has precedence over nativeID prop.

This disables the 'layout-only view removal' optimization for this view!

See https://reactnative.dev/docs/view#id

Inherited from ​

Omit.id


importantForAccessibility? ​

readonly optional importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants"

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:134

Controls how view is important for accessibility which is if it fires accessibility events and if it is reported to accessibility services that query the screen. Works for Android only. See http://developer.android.com/reference/android/R.attr.html#importantForAccessibility for references.

Possible values: 'auto' - The system determines whether the view is important for accessibility - default (recommended). 'yes' - The view is important for accessibility. 'no' - The view is not important for accessibility. 'no-hide-descendants' - The view is not important for accessibility, nor are any of its descendant views.

Platform ​

android

See https://reactnative.dev/docs/view#importantforaccessibility

Inherited from ​

Omit.importantForAccessibility


loop? ​

optional loop?: number

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:54

How many times to play. Default 0, which is forever.

Inherited from ​

SsPlayerProps.loop


measureFrames? ​

optional measureFrames?: number

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:66

Caps the measuring walk. Default 0, which is one authored cycle.

Inherited from ​

SsPlayerProps.measureFrames


nativeBackgroundAndroid? ​

readonly optional nativeBackgroundAndroid?: AndroidDrawable

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:246

Inherited from ​

Omit.nativeBackgroundAndroid


nativeForegroundAndroid? ​

readonly optional nativeForegroundAndroid?: AndroidDrawable

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:247

Inherited from ​

Omit.nativeForegroundAndroid


nativeID? ​

readonly optional nativeID?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:434

Used to locate this view from native classes.

This disables the 'layout-only view removal' optimization for this view!

See https://reactnative.dev/docs/view#nativeid

Inherited from ​

Omit.nativeID


needsOffscreenAlphaCompositing? ​

readonly optional needsOffscreenAlphaCompositing?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:452

Whether this View needs to be rendered offscreen and composited with an alpha in order to preserve 100% correct colors and blending behavior. The default (false) falls back to drawing the component and its children with reduced alpha applied to the paint used to draw each element instead of rendering the full component offscreen and compositing it back with an alpha value. This default may be noticeable and undesired in the case where the View you are setting an opacity on has multiple overlapping elements (e.g. multiple overlapping Views, or text and a background).

Rendering offscreen to preserve correct alpha behavior is extremely expensive and hard to debug for non-native developers, which is why it is not turned on by default.

Default ​

false

Inherited from ​

Omit.needsOffscreenAlphaCompositing


nextFocusDown? ​

readonly optional nextFocusDown?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:278

Designates the next view to receive focus when the user navigates down. The value is the nativeID of the target view.

Platform ​

android

Inherited from ​

Omit.nextFocusDown


nextFocusForward? ​

readonly optional nextFocusForward?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:285

Designates the next view to receive focus when the user navigates forward. The value is the nativeID of the target view.

Platform ​

android

Inherited from ​

Omit.nextFocusForward


nextFocusLeft? ​

readonly optional nextFocusLeft?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:292

Designates the next view to receive focus when the user navigates left. The value is the nativeID of the target view.

Platform ​

android

Inherited from ​

Omit.nextFocusLeft


nextFocusRight? ​

readonly optional nextFocusRight?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:299

Designates the next view to receive focus when the user navigates right. The value is the nativeID of the target view.

Platform ​

android

Inherited from ​

Omit.nextFocusRight


nextFocusUp? ​

readonly optional nextFocusUp?: number

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:306

Designates the next view to receive focus when the user navigates up. The value is the nativeID of the target view.

Platform ​

android

Inherited from ​

Omit.nextFocusUp


offset? ​

optional offset?: object

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:59

Pixels from where fit/align put the art. Under fit="none" this is measured from the view's centre.

x ​

x: number

y ​

y: number


onAccessibilityAction? ​

readonly optional onAccessibilityAction?: (event) => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:27

When accessible is true, the system will try to invoke this function when the user performs an accessibility custom action.

Parameters ​

event ​

AccessibilityActionEvent

Returns ​

unknown

Inherited from ​

Omit.onAccessibilityAction


onAccessibilityEscape? ​

readonly optional onAccessibilityEscape?: () => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:60

When accessible is true, the system will invoke this function when the user performs the escape gesture.

See https://reactnative.dev/docs/view#onaccessibilityescape

Returns ​

unknown

Inherited from ​

Omit.onAccessibilityEscape


onAccessibilityTap? ​

readonly optional onAccessibilityTap?: () => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:34

When accessible is true, the system will try to invoke this function when the user performs accessibility tap gesture.

See https://reactnative.dev/docs/view#onaccessibilitytap

Returns ​

unknown

Inherited from ​

Omit.onAccessibilityTap


onAnimationChanged? ​

optional onAnimationChanged?: (animation) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:105

A different animation was mounted. Not fired for a restart of the same one.

Parameters ​

animation ​

string

Returns ​

void

Inherited from ​

SsPlayerProps.onAnimationChanged


onAnimationFinished? ​

optional onAnimationFinished?: (animation) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:99

The animation reached its end. Carries which one, since a player outlives them.

Parameters ​

animation ​

string

Returns ​

void

Inherited from ​

SsPlayerProps.onAnimationFinished


onAnimationLooped? ​

optional onAnimationLooped?: (animation) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:101

The playhead crossed a loop boundary.

Parameters ​

animation ​

string

Returns ​

void

Inherited from ​

SsPlayerProps.onAnimationLooped


onAnimationStarted? ​

optional onAnimationStarted?: (animation) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:103

Playback started from the beginning — not on resume.

Parameters ​

animation ​

string

Returns ​

void

Inherited from ​

SsPlayerProps.onAnimationStarted


onAudio? ​

optional onAudio?: (event) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:83

Fires once per authored audio key the playhead crosses.

The event says what to play and where the file is — playing it is the app's job, since this package brings no audio stack of its own.

Parameters ​

event ​

SsAudioEvent

Returns ​

void

Inherited from ​

SsPlayerProps.onAudio


onBlur? ​

readonly optional onBlur?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:96

Callback that is called when the view is blurred.

Note: This will only be called if the view is focusable.

Parameters ​

event ​

BlurEvent

Returns ​

void

Inherited from ​

Omit.onBlur


onBlurCapture? ​

readonly optional onBlurCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:97

Parameters ​

event ​

BlurEvent

Returns ​

void

Inherited from ​

Omit.onBlurCapture


onClick? ​

readonly optional onClick?: (event) => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:330

The action to perform when this View is clicked on by a non-touch click, eg. enter key on a hardware keyboard.

Parameters ​

event ​

GestureResponderEvent

Returns ​

unknown

Platform ​

android

Inherited from ​

Omit.onClick


onClickCapture? ​

readonly optional onClickCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:68

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onClickCapture


onError? ​

optional onError?: (error) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:97

Without one, the error goes to console.error rather than nowhere.

Parameters ​

error ​

unknown

Returns ​

void

Inherited from ​

SsPlayerProps.onError


onFocus? ​

readonly optional onFocus?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:103

Callback that is called when the view is focused.

Note: This will only be called if the view is focusable.

Parameters ​

event ​

FocusEvent

Returns ​

void

Inherited from ​

Omit.onFocus


onFocusCapture? ​

readonly optional onFocusCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:104

Parameters ​

event ​

FocusEvent

Returns ​

void

Inherited from ​

Omit.onFocusCapture


onGotPointerCapture? ​

readonly optional onGotPointerCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:85

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onGotPointerCapture


onGotPointerCaptureCapture? ​

readonly optional onGotPointerCaptureCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:86

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onGotPointerCaptureCapture


onKeyDown? ​

readonly optional onKeyDown?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:107

Parameters ​

event ​

KeyDownEvent

Returns ​

void

Inherited from ​

Omit.onKeyDown


onKeyDownCapture? ​

readonly optional onKeyDownCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:108

Parameters ​

event ​

KeyDownEvent

Returns ​

void

Inherited from ​

Omit.onKeyDownCapture


onKeyUp? ​

readonly optional onKeyUp?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:109

Parameters ​

event ​

KeyUpEvent

Returns ​

void

Inherited from ​

Omit.onKeyUp


onKeyUpCapture? ​

readonly optional onKeyUpCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:110

Parameters ​

event ​

KeyUpEvent

Returns ​

void

Inherited from ​

Omit.onKeyUpCapture


onLayout? ​

readonly optional onLayout?: (event) => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:46

Invoked on mount and layout changes with:

{nativeEvent: { layout: {x, y, width, height}}}

This event is fired immediately once the layout has been calculated, but the new layout may not yet be reflected on the screen at the time the event is received, especially if a layout animation is in progress.

See https://reactnative.dev/docs/view#onlayout

Parameters ​

event ​

LayoutChangeEvent

Returns ​

unknown

Inherited from ​

Omit.onLayout


onLoad? ​

optional onLoad?: (player) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:95

The pack loaded and its animation is set up. Hands over the player, so reading getAnimationNames() needs neither the ref nor an effect.

Parameters ​

player ​

SpriteStudioPlayer

Returns ​

void

Inherited from ​

SsPlayerProps.onLoad


onLostPointerCapture? ​

readonly optional onLostPointerCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:87

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onLostPointerCapture


onLostPointerCaptureCapture? ​

readonly optional onLostPointerCaptureCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:88

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onLostPointerCaptureCapture


onMagicTap? ​

readonly optional onMagicTap?: () => unknown

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:53

When accessible is true, the system will invoke this function when the user performs the magic tap gesture.

See https://reactnative.dev/docs/view#onmagictap

Returns ​

unknown

Inherited from ​

Omit.onMagicTap


onMouseEnter? ​

readonly optional onMouseEnter?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:63

Parameters ​

event ​

MouseEvent

Returns ​

void

Inherited from ​

Omit.onMouseEnter


onMouseLeave? ​

readonly optional onMouseLeave?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:64

Parameters ​

event ​

MouseEvent

Returns ​

void

Inherited from ​

Omit.onMouseLeave


onMoveShouldSetResponder? ​

readonly optional onMoveShouldSetResponder?: (e) => boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:137

Does this view want to "claim" touch responsiveness? This is called for every touch move on the View when it is not the responder.

View.props.onMoveShouldSetResponder: (event) => [true | false], where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onmoveshouldsetresponder

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean

Inherited from ​

Omit.onMoveShouldSetResponder


onMoveShouldSetResponderCapture? ​

readonly optional onMoveShouldSetResponderCapture?: (e) => boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:147

If a parent View wants to prevent a child View from becoming responder on a move, it should have this handler which returns true.

View.props.onMoveShouldSetResponderCapture: (event) => [true | false], where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onMoveShouldsetrespondercapture

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean

Inherited from ​

Omit.onMoveShouldSetResponderCapture


onPointerCancel? ​

readonly optional onPointerCancel?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:75

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerCancel


onPointerCancelCapture? ​

readonly optional onPointerCancelCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:76

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerCancelCapture


onPointerDown? ​

readonly optional onPointerDown?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:77

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerDown


onPointerDownCapture? ​

readonly optional onPointerDownCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:78

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerDownCapture


onPointerEnter? ​

readonly optional onPointerEnter?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:69

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerEnter


onPointerEnterCapture? ​

readonly optional onPointerEnterCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:70

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerEnterCapture


onPointerLeave? ​

readonly optional onPointerLeave?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:71

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerLeave


onPointerLeaveCapture? ​

readonly optional onPointerLeaveCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:72

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerLeaveCapture


onPointerMove? ​

readonly optional onPointerMove?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:73

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerMove


onPointerMoveCapture? ​

readonly optional onPointerMoveCapture?: (event) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:74

Parameters ​

event ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerMoveCapture


onPointerOut? ​

readonly optional onPointerOut?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:83

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerOut


onPointerOutCapture? ​

readonly optional onPointerOutCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:84

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerOutCapture


onPointerOver? ​

readonly optional onPointerOver?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:81

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerOver


onPointerOverCapture? ​

readonly optional onPointerOverCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:82

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerOverCapture


onPointerUp? ​

readonly optional onPointerUp?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:79

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerUp


onPointerUpCapture? ​

readonly optional onPointerUpCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:80

Parameters ​

e ​

PointerEvent

Returns ​

void

Inherited from ​

Omit.onPointerUpCapture


onResponderEnd? ​

readonly optional onResponderEnd?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:190

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderEnd


onResponderGrant? ​

readonly optional onResponderGrant?: (e) => boolean | void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:160

The View is now responding for touch events. This is the time to highlight and show the user what is happening.

View.props.onResponderGrant: (event) => {}, where event is a synthetic touch event as described above.

Return true from this callback to prevent any other native components from becoming responder until this responder terminates (Android-only).

See https://reactnative.dev/docs/view#onrespondergrant

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean | void

Inherited from ​

Omit.onResponderGrant


onResponderMove? ​

readonly optional onResponderMove?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:169

The user is moving their finger.

View.props.onResponderMove: (event) => {}, where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onrespondermove

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderMove


onResponderReject? ​

readonly optional onResponderReject?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:179

Another responder is already active and will not release it to that View asking to be the responder.

View.props.onResponderReject: (event) => {}, where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onresponderreject

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderReject


onResponderRelease? ​

readonly optional onResponderRelease?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:188

Fired at the end of the touch.

View.props.onResponderRelease: (event) => {}, where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onresponderrelease

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderRelease


onResponderStart? ​

readonly optional onResponderStart?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:189

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderStart


onResponderTerminate? ​

readonly optional onResponderTerminate?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:202

The responder has been taken from the View. Might be taken by other views after a call to onResponderTerminationRequest, or might be taken by the OS without asking (e.g., happens with control center/ notification center on iOS)

View.props.onResponderTerminate: (event) => {}, where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onresponderterminate

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onResponderTerminate


onResponderTerminationRequest? ​

readonly optional onResponderTerminationRequest?: (e) => boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:212

Some other View wants to become responder and is asking this View to release its responder. Returning true allows its release.

View.props.onResponderTerminationRequest: (event) => {}, where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onresponderterminationrequest

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean

Inherited from ​

Omit.onResponderTerminationRequest


onSignal? ​

optional onSignal?: (event) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:89

Fires once per active signal the playhead crosses — a named command and its parameters, for the app to dispatch. Signals switched off in the timeline are not reported.

Parameters ​

event ​

SsSignalEvent

Returns ​

void

Inherited from ​

SsPlayerProps.onSignal


onStartShouldSetResponder? ​

readonly optional onStartShouldSetResponder?: (e) => boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:221

Does this view want to become responder on the start of a touch?

View.props.onStartShouldSetResponder: (event) => [true | false], where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onstartshouldsetresponder

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean

Inherited from ​

Omit.onStartShouldSetResponder


onStartShouldSetResponderCapture? ​

readonly optional onStartShouldSetResponderCapture?: (e) => boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:231

If a parent View wants to prevent a child View from becoming responder on a touch start, it should have this handler which returns true.

View.props.onStartShouldSetResponderCapture: (event) => [true | false], where event is a synthetic touch event as described above.

See https://reactnative.dev/docs/view#onstartshouldsetrespondercapture

Parameters ​

e ​

GestureResponderEvent

Returns ​

boolean

Inherited from ​

Omit.onStartShouldSetResponderCapture


onTouchCancel? ​

readonly optional onTouchCancel?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:113

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchCancel


onTouchCancelCapture? ​

readonly optional onTouchCancelCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:114

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchCancelCapture


onTouchEnd? ​

readonly optional onTouchEnd?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:115

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchEnd


onTouchEndCapture? ​

readonly optional onTouchEndCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:116

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchEndCapture


onTouchMove? ​

readonly optional onTouchMove?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:117

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchMove


onTouchMoveCapture? ​

readonly optional onTouchMoveCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:118

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchMoveCapture


onTouchStart? ​

readonly optional onTouchStart?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:119

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchStart


onTouchStartCapture? ​

readonly optional onTouchStartCapture?: (e) => void

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:120

Parameters ​

e ​

GestureResponderEvent

Returns ​

void

Inherited from ​

Omit.onTouchStartCapture


onUserData? ​

optional onUserData?: (event) => void

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:76

Fires once per authored user-data key the playhead crosses.

Parameters ​

event ​

SsUserDataEvent

Returns ​

void

Inherited from ​

SsPlayerProps.onUserData


parts? ​

optional parts?: Readonly<Record<string, SsPartOverride>>

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:74

Per-part overrides on top of the animation, keyed by part name.

Declarative: a part dropped from the map goes back to the animation, so the prop describes the state rather than a history of calls.

Inherited from ​

SsPlayerProps.parts


placeholder? ​

optional placeholder?: ReactNode

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:84

Shown until the first frame is drawable — the pack loaded and at least one texture registered.

Worth having as a prop rather than left to onLoad: until the textures land drawInto skips every batch, so the honest alternative is a blank rectangle that looks exactly like a broken pack. ssPreload is the way to make this window short enough not to matter.


playing? ​

optional playing?: boolean

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:50

Default true. false leaves it on its first frame.

Inherited from ​

SsPlayerProps.playing


pointerEvents? ​

readonly optional pointerEvents?: "none" | "auto" | "box-none" | "box-only"

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:475

Controls whether the View can be the target of touch events.

  • 'auto': The view can be the target of touch events.
  • 'none': The view is never the target of touch events.
  • 'box-none': The view is never the target of touch events but its subviews can be.
  • 'box-only': The view can be the target of touch events but its subviews cannot be.

Inherited from ​

Omit.pointerEvents


removeClippedSubviews? ​

readonly optional removeClippedSubviews?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:486

This is a special performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

See https://reactnative.dev/docs/view#removeclippedsubviews

Inherited from ​

Omit.removeClippedSubviews


renderToHardwareTextureAndroid? ​

readonly optional renderToHardwareTextureAndroid?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:264

Whether this View should render itself (and all of its children) into a single hardware texture on the GPU.

On Android, this is useful for animations and interactions that only modify opacity, rotation, translation and/or scale: in those cases, the view does not have to be redrawn and display lists do not need to be re-executed. The texture can be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/ animation.

Default ​

false

Platform ​

android

Inherited from ​

Omit.renderToHardwareTextureAndroid


role? ​

readonly optional role?: Role

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:247

Alias for accessibilityRole

Inherited from ​

Omit.role


scale? ​

optional scale?: number

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:61

Multiplier on top of the fit's scale.


screenReaderFocusable? ​

readonly optional screenReaderFocusable?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewAccessibility.d.ts:141

Enables the view to be screen reader focusable, not keyboard focusable. This has lower priority than focusable or accessible props.

Platform ​

android

Inherited from ​

Omit.screenReaderFocusable


shouldRasterizeIOS? ​

readonly optional shouldRasterizeIOS?: boolean

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:389

Whether this View should be rendered as a bitmap before compositing.

On iOS, this is useful for animations and interactions that do not modify this component's dimensions nor its children; for example, when translating the position of a static view, rasterization allows the renderer to skip re-rendering the view frame and re-use the cached bitmap.

Rasterization incurs an offscreen drawing pass and the bitmap consumes memory. Test and measure when using this property.

Default ​

false

Platform ​

ios

Inherited from ​

Omit.shouldRasterizeIOS


source ​

source: SsSource

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:30

The .ssab to play: a bundled asset, a file path or an http(s) URL.

Inherited from ​

SsPlayerProps.source


speed? ​

optional speed?: number

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:52

Multiplier on the authored frame rate. Default 1.

Inherited from ​

SsPlayerProps.speed


style? ​

optional style?: StyleProp<ViewStyle>

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioView.tsx:68

Sized like an <Image> of the authored canvas where this leaves it open: with no width or height the view is the canvas, one unit to a point, and with one of them the canvas's aspect ratio sets the other.


tabIndex? ​

readonly optional tabIndex?: 0 | -1

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:324

Indicates whether this View should be focusable with a non-touch input device, eg. receive focus with a hardware keyboard. See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex for more details.

Supports the following values:

  • 0 (View is focusable)
  • -1 (View is not focusable)

Platform ​

android

Inherited from ​

Omit.tabIndex


testID? ​

readonly optional testID?: string

Defined in: node_modules/.pnpm/react-native@0.88.0_@babel+core@7.29.13_supports-color@8.1.1__@react-native+metro-confi_bb4928bf6d743a7f4250981571e281b2/node_modules/react-native/types_generated/Libraries/Components/View/ViewPropTypes.d.ts:426

Used to locate this view in end-to-end tests.

This disables the 'layout-only view removal' optimization for this view!

See https://reactnative.dev/docs/view#testid

Inherited from ​

Omit.testID


textures? ​

optional textures?: SsTextureSources

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:32

Atlases supplied by the caller. A pack's own are loaded either way.

Inherited from ​

SsPlayerProps.textures


transitionMs? ​

optional transitionMs?: number

Defined in: packages/react-native-spritestudio/src/view/useSpriteStudioPlayer.ts:48

Milliseconds to crossfade over when animation changes. Default 0, which switches outright — re-posing and heading out, as setAnimation does. Above 0 the change is a crossfade on track 0 instead: the outgoing animation fades while the incoming one plays from its head, and the other tracks stay. The first animation of a load is always set up outright.

With this prop in use, switch track 0 through animation rather than through the player's crossfade(0, …) / setTrackAnimation(0, …) / setAnimation: the prop only acts when it changes, so a clip reached behind its back is one the prop cannot then return from. The tracks above 0 are the player's alone.

Inherited from ​

SsPlayerProps.transitionMs