UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

8 lines (7 loc) • 1.64 kB
{ "version": 3, "sources": ["src/platform/specs/OneNativeFormNativeComponent.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 codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n sizing: string;\n colorScheme: string;\n dynamicTypeSize: string;\n controlSize: string;\n locale: string;\n tint?: ColorValue;\n isEnabled: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeForm';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeForm\",\n validAttributes: {\n sizing: true,\n colorScheme: true,\n dynamicTypeSize: true,\n controlSize: true,\n locale: true,\n tint: require('react-native/Libraries/Components/View/ReactNativeStyleAttributes').colorAttribute,\n isEnabled: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"], "mappings": "AAaA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,iBAAiB;AAAA,IACjB,aAAa;AAAA,IACb,QAAQ;AAAA,IACR,MAAM,QAAQ,mEAAmE,EAAE;AAAA,IACnF,WAAW;AAAA,EACb;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;", "names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeFormNativeComponent_default"] }