react-native-lamantin
Version:
Set of components for https://lamantin.group development
21 lines (20 loc) • 527 B
TypeScript
import { PureComponent } from 'react';
import { ViewStyle } from 'react-native';
export interface ProgressViewProps {
isLoading: boolean;
size?: 'small' | 'large';
color?: string;
style?: ViewStyle;
}
/**
* Render ProgressView when isLoading === true or children otherwise.
*/
export declare class ProgressView extends PureComponent<ProgressViewProps> {
static defaultProps: {
isLoading: boolean;
size: string;
color: string;
style: {};
};
render(): JSX.Element;
}