import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import { NumberProp } from '../lib/extract/types'; import type { UnsafeMixed } from './codegenUtils'; import type { ViewProps } from './utils'; import { WithDefault } from 'react-native/Libraries/Types/CodegenTypes'; type Units = 'userSpaceOnUse' | 'objectBoundingBox'; interface NativeProps extends ViewProps { name?: string; x?: UnsafeMixed; y?: UnsafeMixed; height?: UnsafeMixed; width?: UnsafeMixed; filterUnits?: WithDefault; primitiveUnits?: WithDefault; } export default codegenNativeComponent('RNSVGFilter', { interfaceOnly: true, });