one
Version:
One is a React framework for web, iOS, and Android apps.
8 lines (7 loc) • 1.72 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/platform/specs/OneNativeGlassNativeComponent.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 { ColorValue, ViewProps } from 'react-native';\nimport type { Double } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n material?: string;\n glassEffect?: string;\n interactive?: boolean;\n shape?: string;\n cornerRadius?: Double;\n tint?: ColorValue;\n colorScheme: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeGlass';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeGlass\",\n validAttributes: {\n material: true,\n glassEffect: true,\n interactive: true,\n shape: true,\n cornerRadius: true,\n tint: require('react-native/Libraries/Components/View/ReactNativeStyleAttributes').colorAttribute,\n colorScheme: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
"mappings": "AAcA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,UAAU;AAAA,IACV,aAAa;AAAA,IACb,aAAa;AAAA,IACb,OAAO;AAAA,IACP,cAAc;AAAA,IACd,MAAM,QAAQ,mEAAmE,EAAE;AAAA,IACnF,aAAa;AAAA,EACf;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeGlassNativeComponent_default"]
}