one
Version:
One is a React framework for web, iOS, and Android apps.
8 lines (7 loc) • 2.04 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/platform/specs/OneNativeSafeAreaProviderNativeComponent.ts"],
"sourcesContent": ["// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts.\n// edit the generator or catalog, then regenerate.\nimport type { ViewProps } from 'react-native';\nimport type { DirectEventHandler, Int32, Double } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n onNativeInsetsChange?: DirectEventHandler<Readonly<{\n insetTop: Double;\n insetRight: Double;\n insetBottom: Double;\n insetLeft: Double;\n frameX: Double;\n frameY: Double;\n frameWidth: Double;\n frameHeight: Double;\n }>>;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nconst {\n ConditionallyIgnoredEventHandlers\n} = require('react-native/Libraries/NativeComponent/ViewConfigIgnore');\nlet nativeComponentName = 'OneNativeSafeAreaProvider';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeSafeAreaProvider\",\n directEventTypes: {\n topNativeInsetsChange: {\n registrationName: \"onNativeInsetsChange\"\n }\n },\n validAttributes: {\n ...ConditionallyIgnoredEventHandlers({\n onNativeInsetsChange: true\n })\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
"mappings": "AAiBA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,MAAM;AAAA,EACJ,mCAAAC;AACF,IAAI,QAAQ,yDAAyD;AACrE,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,kBAAkB;AAAA,IAChB,uBAAuB;AAAA,MACrB,kBAAkB;AAAA,IACpB;AAAA,EACF;AAAA,EACA,iBAAiB;AAAA,IACf,GAAGF,EAAkC;AAAA,MACnC,sBAAsB;AAAA,IACxB,CAAC;AAAA,EACH;AACF;AACA,IAAOG,IAAQJ,EAAwB,IAAIE,GAAqB,MAAMC,CAAsB;",
"names": ["NativeComponentRegistry", "ConditionallyIgnoredEventHandlers", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeSafeAreaProviderNativeComponent_default"]
}