mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Put View ViewConfig in JS
Summary: Moving this config to native for android so we skip the native lookup for the config. Reviewed By: yungsters Differential Revision: D9415726 fbshipit-source-id: 84cac3f0dfa4f6ea8800de77676f1e2896ee463d
This commit is contained in:
@@ -14,18 +14,9 @@ const ReactNativeStyleAttributes = require('ReactNativeStyleAttributes');
|
||||
|
||||
const processColor = require('processColor');
|
||||
|
||||
import type {ViewProps} from 'ViewPropTypes';
|
||||
import type {____ViewStyle_Internal} from 'StyleSheetTypes';
|
||||
import type {ReactNativeBaseComponentViewConfig} from 'ReactNativeTypes';
|
||||
|
||||
const colorHandler = {diff: null, process: processColor};
|
||||
|
||||
type Config = ReactNativeBaseComponentViewConfig<
|
||||
$Keys<ViewProps> | $Keys<____ViewStyle_Internal>,
|
||||
$Keys<____ViewStyle_Internal>,
|
||||
>;
|
||||
|
||||
const ViewNativeComponentAndroidConfig: Config = {
|
||||
const ViewNativeComponentAndroidConfig = {
|
||||
bubblingEventTypes: {
|
||||
topChange: {
|
||||
phasedRegistrationNames: {
|
||||
|
||||
Reference in New Issue
Block a user