import type { ColorValue } from 'react-native'; import type { Float, Int32, WithDefault, } from 'react-native/Libraries/Types/CodegenTypes'; import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { NumberProp } from '../lib/extract/types'; import type { UnsafeMixed } from './codegenUtils'; import type { ViewProps } from './utils'; interface FilterPrimitiveCommonProps { x?: UnsafeMixed; y?: UnsafeMixed; width?: UnsafeMixed; height?: UnsafeMixed; result?: string; } type ColorStruct = Readonly<{ type?: WithDefault; payload?: ColorValue; brushRef?: string; }>; export interface NativeProps extends ViewProps, FilterPrimitiveCommonProps { floodColor?: UnsafeMixed; floodOpacity?: WithDefault; } export default codegenNativeComponent('RNSVGFeFlood', { interfaceOnly: true, });