one
Version:
One is a React framework for web, iOS, and Android apps.
8 lines (7 loc) • 2.59 kB
Source Map (JSON)
{
"version": 3,
"sources": ["src/platform/specs/OneNativeArrangementSlotNativeComponent.ts"],
"sourcesContent": ["import type { ViewProps } from 'react-native';\nimport type { Double, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';\nimport codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';\ninterface NativeProps extends ViewProps {\n placement: string;\n splitRatio?: WithDefault<Double, -1>;\n splitMinHorizontal?: WithDefault<Double, -1>;\n splitIdealHorizontal?: WithDefault<Double, -1>;\n splitMaxHorizontal?: WithDefault<Double, -1>;\n splitMinVertical?: WithDefault<Double, -1>;\n splitIdealVertical?: WithDefault<Double, -1>;\n splitMaxVertical?: WithDefault<Double, -1>;\n splitMinWidth?: WithDefault<Double, -1>;\n splitIdealWidth?: WithDefault<Double, -1>;\n splitMaxWidth?: WithDefault<Double, -1>;\n splitMinHeight?: WithDefault<Double, -1>;\n splitIdealHeight?: WithDefault<Double, -1>;\n splitMaxHeight?: WithDefault<Double, -1>;\n splitFixedHorizontal?: boolean;\n splitFixedVertical?: boolean;\n overlayEdge?: string;\n}\nconst NativeComponentRegistry = require('react-native/Libraries/NativeComponent/NativeComponentRegistry');\nlet nativeComponentName = 'OneNativeArrangementSlot';\nexport const __INTERNAL_VIEW_CONFIG = {\n uiViewClassName: \"OneNativeArrangementSlot\",\n validAttributes: {\n placement: true,\n splitRatio: true,\n splitMinHorizontal: true,\n splitIdealHorizontal: true,\n splitMaxHorizontal: true,\n splitMinVertical: true,\n splitIdealVertical: true,\n splitMaxVertical: true,\n splitMinWidth: true,\n splitIdealWidth: true,\n splitMaxWidth: true,\n splitMinHeight: true,\n splitIdealHeight: true,\n splitMaxHeight: true,\n splitFixedHorizontal: true,\n splitFixedVertical: true,\n overlayEdge: true\n }\n};\nexport default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL_VIEW_CONFIG);"],
"mappings": "AAsBA,MAAMA,IAA0B,QAAQ,gEAAgE;AACxG,IAAIC,IAAsB;AACnB,MAAMC,IAAyB;AAAA,EACpC,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,IACf,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,oBAAoB;AAAA,IACpB,sBAAsB;AAAA,IACtB,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,sBAAsB;AAAA,IACtB,oBAAoB;AAAA,IACpB,aAAa;AAAA,EACf;AACF;AACA,IAAOC,IAAQH,EAAwB,IAAIC,GAAqB,MAAMC,CAAsB;",
"names": ["NativeComponentRegistry", "nativeComponentName", "__INTERNAL_VIEW_CONFIG", "OneNativeArrangementSlotNativeComponent_default"]
}