Skip to content

Commit 499e207

Browse files
elicwhitehramos
authored andcommitted
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
1 parent 7525f38 commit 499e207

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

Libraries/Components/View/ViewNativeComponentAndroidConfig.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,9 @@ const ReactNativeStyleAttributes = require('ReactNativeStyleAttributes');
1414

1515
const processColor = require('processColor');
1616

17-
import type {ViewProps} from 'ViewPropTypes';
18-
import type {____ViewStyle_Internal} from 'StyleSheetTypes';
19-
import type {ReactNativeBaseComponentViewConfig} from 'ReactNativeTypes';
20-
2117
const colorHandler = {diff: null, process: processColor};
2218

23-
type Config = ReactNativeBaseComponentViewConfig<
24-
$Keys<ViewProps> | $Keys<____ViewStyle_Internal>,
25-
$Keys<____ViewStyle_Internal>,
26-
>;
27-
28-
const ViewNativeComponentAndroidConfig: Config = {
19+
const ViewNativeComponentAndroidConfig = {
2920
bubblingEventTypes: {
3021
topChange: {
3122
phasedRegistrationNames: {

0 commit comments

Comments
 (0)