import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ViewProps } from 'react-native'; import type { WithDefault, Double, DirectEventHandler, Int32, } from 'react-native/Libraries/Types/CodegenTypes'; export interface ValueChangeEvent { value: boolean; } interface NativeProps extends ViewProps { value?: WithDefault; blurAmount?: WithDefault; blurRounds?: WithDefault; thumbColor?: WithDefault; trackColorOff?: WithDefault; trackColorOn?: WithDefault; disabled?: WithDefault; onValueChange?: DirectEventHandler>; } export default codegenNativeComponent('ReactNativeBlurSwitch', { excludedPlatforms: ['iOS'], });