Skip to content

Commit

Permalink
Support debugID in NVE
Browse files Browse the repository at this point in the history
Summary: Allow setting debugID on list of event animations and Animated Value types in NativeViewEvents (AnimatedEventColors/AnimatedEventValues) so it's easier for debugging on native side

Reviewed By: christophpurrer

Differential Revision: D67185006
  • Loading branch information
zeyap authored and facebook-github-bot committed Dec 13, 2024
1 parent 81c74cd commit 9e17154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function validateInterpolation<OutputT: number | string>(
config: InterpolationConfigType<OutputT>,
): void {
for (const key in config) {
if (!isSupportedInterpolationParam(key)) {
if (key !== 'debugID' && !isSupportedInterpolationParam(key)) {
console.error(
`Interpolation property '${key}' is not supported by native animated module`,
);
Expand Down

0 comments on commit 9e17154

Please sign in to comment.