UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

26 lines (23 loc) 1.04 kB
import type { ITextProps } from '../../primitives'; import type { ViewStyle } from 'react-native'; import type { CustomProps, ResponsiveValue } from '../../../components/types'; import type { ISizes } from '../../../theme/base/sizes'; import type { IColors } from '../../../theme/base/colors'; import type { InterfaceBoxProps } from '../../../components/primitives/Box/types'; import type { ColorSchemeType } from '../../../components/types'; export type InterfaceCircularProgressProps = InterfaceBoxProps<ICircularProgressProps> & { style?: ViewStyle; children?: JSX.Element | JSX.Element[] | string; value: number; size?: ResponsiveValue<ISizes | (string & {}) | number>; thickness?: number; colorScheme?: ColorSchemeType; color?: ResponsiveValue<IColors | (string & {})>; trackColor?: ResponsiveValue<IColors | (string & {})>; isIndeterminate?: boolean; max?: number; min?: number; _text?: ITextProps; }; export type ICircularProgressProps = InterfaceCircularProgressProps & CustomProps<'CircularProgress'>;