import type { HostComponent, ViewProps } from 'react-native'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; // @ts-ignore - CI environment type resolution issue for CodegenTypes import type { Double } from 'react-native/Libraries/Types/CodegenTypes'; import type { UnsafeMixed } from './codegenUtils'; export interface NativeProps extends ViewProps { stretchX: UnsafeMixed>; // Array inside UnsafeMixed stretchY: UnsafeMixed>; // Array inside UnsafeMixed content: UnsafeMixed>; sdf: UnsafeMixed; name: UnsafeMixed; scale?: UnsafeMixed; } // @ts-ignore-error - Codegen requires single cast but TypeScript prefers double cast export default codegenNativeComponent( 'RNMBXImage', ) as HostComponent;