import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ColorValue, HostComponent, ViewProps } from 'react-native'; import type { Double, Int32, WithDefault, } from 'react-native/Libraries/Types/CodegenTypes'; /** Every option arrives resolved by `resolveProgress`, so native code never applies defaults. */ export interface NativeProps extends ViewProps { /** Progress in [0, 1]; negative shows the indeterminate animation. */ value?: WithDefault; /** Buffer in [0, 1]; negative draws none. */ buffer?: WithDefault; smooth?: WithDefault; type?: WithDefault; variant?: WithDefault; thickness?: WithDefault; trackGap?: WithDefault; segments?: WithDefault; showLabel?: WithDefault; stopIndicator?: WithDefault; strokeCap?: WithDefault; amplitude?: WithDefault; wavelength?: WithDefault; waveSpeed?: WithDefault; /** In degrees. */ sweepAngle?: WithDefault; cornerRadius?: WithDefault; speed?: WithDefault; /** Unset takes the platform accent color. */ color?: ColorValue; /** Unset draws the track in `color` at 24% opacity. */ trackColor?: ColorValue; /** Unset takes the platform text color. */ labelColor?: ColorValue; reduceMotion?: WithDefault<'system' | 'never', 'system'>; /** What screen readers announce; empty means the platform default. */ progressAccessibilityLabel?: WithDefault; } export default codegenNativeComponent( 'LoaderKitProgressView' ) as HostComponent;