import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ColorValue, HostComponent, ViewProps } from 'react-native'; import type { Float, WithDefault, } from 'react-native/Libraries/Types/CodegenTypes'; export interface NativeProps extends ViewProps { /** Built-in indicator, used when `specJson` is empty. */ name?: WithDefault; /** A custom spec serialized as JSON; empty means `name`. */ specJson?: WithDefault; /** Param overrides serialized as a JSON object; empty means none. */ paramsJson?: WithDefault; color?: ColorValue; colors?: ReadonlyArray; speed?: WithDefault; animating?: WithDefault; hidesWhenStopped?: WithDefault; /** A frozen point of the cycle in [0, 1]; negative means the indicator runs on its clock. */ cycleProgress?: WithDefault; reduceMotion?: WithDefault<'system' | 'never' | 'always', 'system'>; } export default codegenNativeComponent( 'LoaderKitView' ) as HostComponent;