import type { HostComponent, ViewProps } from 'react-native'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; 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; } export default codegenNativeComponent( 'RNMBXImage', ) as HostComponent;