Skip to content

Commit

Permalink
useNativeProcessing() -> enableNativeProcessing()
Browse files Browse the repository at this point in the history
  • Loading branch information
NickGerleman committed May 10, 2024
1 parent c43831f commit 1e055d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ function processProperty(
}

if (
typeof attributeConfig.useNativeProcessing === 'function' &&
attributeConfig.useNativeProcessing()
typeof attributeConfig.enableNativeProcessing === 'function' &&
attributeConfig.enableNativeProcessing()
) {
return prop;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-renderer/src/ReactNativeTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export type AttributeType<T, V> =
| $ReadOnly<{
diff?: (arg1: T, arg2: T) => boolean,
process?: (arg1: V) => T,
useNativeProcessing?: () => boolean,
enableNativeProcessing?: () => boolean,
}>;

// We either force that `diff` and `process` always use mixed,
Expand Down

0 comments on commit 1e055d0

Please sign in to comment.