import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ViewProps } from './utils'; import { NumberProp } from '../lib/extract/types'; import type { UnsafeMixed } from './codegenUtils'; import { Float, WithDefault } from 'react-native/Libraries/Types/CodegenTypes'; type ColorMatrixType = 'matrix' | 'saturate' | 'hueRotate' | 'luminanceToAlpha'; interface FilterPrimitiveCommonProps { x?: UnsafeMixed; y?: UnsafeMixed; width?: UnsafeMixed; height?: UnsafeMixed; result?: string; } export interface NativeProps extends ViewProps, FilterPrimitiveCommonProps { in1?: string; type?: WithDefault; values?: ReadonlyArray; } export default codegenNativeComponent('RNSVGFeColorMatrix', { interfaceOnly: true, });