BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/NativeComponent
Run
Logout
Edit File
Size: 1.57 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/NativeComponent/ViewConfigIgnore.js
Text
Base64
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict * @format */ import Platform from '../Utilities/Platform'; const ignoredViewConfigProps = new WeakSet<{...}>(); /** * Decorates ViewConfig values that are dynamically injected by the library, * react-native-gesture-handler. (T45765076) */ export function DynamicallyInjectedByGestureHandler<T: {...}>(object: T): T { ignoredViewConfigProps.add(object); return object; } /** * On iOS, ViewManager event declarations generate {eventName}: true entries * in ViewConfig valueAttributes. These entries aren't generated for Android. * This annotation allows Static ViewConfigs to insert these entries into * iOS but not Android. * * In the future, we want to remove this platform-inconsistency. We want * to set RN$ViewConfigEventValidAttributesDisabled = true server-side, * so that iOS does not generate validAttributes from event props in iOS RCTViewManager, * since Android does not generate validAttributes from events props in Android ViewManager. * * TODO(T110872225): Remove this logic, after achieving platform-consistency */ export function ConditionallyIgnoredEventHandlers<T: {[name: string]: true}>( value: T, ): T | void { if (Platform.OS === 'ios') { return value; } return undefined; } export function isIgnored(value: mixed): boolean { if (typeof value === 'object' && value != null) { return ignoredViewConfigProps.has(value); } return false; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
BaseViewConfig.android.js
10.03 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BaseViewConfig.ios.js
10.15 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BaseViewConfig.js.flow
412 B
lrw-r--r--
2025-03-28 11:04:41
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NativeComponentRegistry.js
4.82 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NativeComponentRegistryUnstable.js
933 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PlatformBaseViewConfig.js
772 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
StaticViewConfigValidator.js
3.45 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ViewConfig.js
1.40 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ViewConfigIgnore.js
1.57 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).