// generated by bun run generate from the SwiftUI SDK and codegen/catalog.ts. // edit the generator or catalog, then regenerate. import type { ColorValue, ProcessedColorValue, ViewProps } from 'react-native' import type { DirectEventHandler, Double, WithDefault, } from 'react-native/Libraries/Types/CodegenTypes' import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent' type OneNativeStyleNative = Readonly<{ fontSize?: WithDefault fontWeight?: string fontDesign?: string textStyle?: string foregroundStyle?: ProcessedColorValue tint?: ProcessedColorValue background?: ProcessedColorValue padding?: WithDefault paddingTop?: WithDefault paddingLeading?: WithDefault paddingBottom?: WithDefault paddingTrailing?: WithDefault width?: WithDefault height?: WithDefault minWidth?: WithDefault idealWidth?: WithDefault maxWidth?: WithDefault minHeight?: WithDefault idealHeight?: WithDefault maxHeight?: WithDefault cornerRadius?: WithDefault opacity?: WithDefault borderColor?: ProcessedColorValue borderWidth?: WithDefault glassEffect?: string glassEffectInteractive?: boolean glassEffectTint?: ProcessedColorValue glassEffectShape?: string material?: string sdkModifiers?: string }> interface NativeProps extends ViewProps { fill?: ColorValue strokeBorder?: ColorValue lineWidth: Double swiftStyle?: OneNativeStyleNative onNativeSDKEvent?: DirectEventHandler> } export default codegenNativeComponent('OneNativeRectangle')