import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ColorValue } from 'react-native'; import type { Float, Int32 } from 'react-native/Libraries/Types/CodegenTypes'; import type { ViewProps } from './utils'; import type { UnsafeMixed } from './codegenUtils'; import { NumberProp } from '../lib/extract/types'; type HitSlop = Readonly<{ left?: Float; top?: Float; right?: Float; bottom?: Float; }>; interface NativeProps extends ViewProps { bbWidth?: UnsafeMixed; bbHeight?: UnsafeMixed; minX?: Float; minY?: Float; vbWidth?: Float; vbHeight?: Float; align?: string; meetOrSlice?: Int32; color?: ColorValue; pointerEvents?: string; hitSlop?: UnsafeMixed; } export default codegenNativeComponent('RNSVGSvgView', { excludedPlatforms: ['android'], });