File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react-native-renderer/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -478,15 +478,15 @@ function fastAddProperties(
478
478
} else {
479
479
continue ;
480
480
}
481
+ } else if ( typeof attributeConfig . process === 'function' ) {
482
+ // An atomic prop with custom processing.
483
+ newValue = attributeConfig . process ( prop ) ;
481
484
} else if ( typeof prop === 'function' ) {
482
485
// A function prop. It represents an event handler. Pass it to native as 'true'.
483
486
newValue = true ;
484
487
} else if ( typeof attributeConfig !== 'object' ) {
485
488
// An atomic prop. Doesn't need to be flattened.
486
489
newValue = prop ;
487
- } else if ( typeof attributeConfig . process === 'function' ) {
488
- // An atomic prop with custom processing.
489
- newValue = attributeConfig . process ( prop ) ;
490
490
} else if ( typeof attributeConfig . diff === 'function' ) {
491
491
// An atomic prop with custom diffing. We don't need to do diffing when adding props.
492
492
newValue = prop ;
You can’t perform that action at this time.
0 commit comments