import {ViewStyle} from 'react-native'; export type LoaderProps = { /** * Optional. Type of loader, can be 'dot' or 'spinner'. */ type?: 'dot' | 'spinner'; /** * Optional. Color for the loader. */ color?: string; /** * Optional. Style or styles for the loader component. */ style?: ViewStyle | ViewStyle[]; }; export type ProgressBarProps = { /** * Required. Percentage value to display on the progress bar. */ percent: number; /** * Optional. Color for the progress bar. */ color?: string; /** * Optional. Style or styles for the progress bar component. */ style?: ViewStyle | ViewStyle[]; };