Skip to content

sergeymild/react-native-alert-loading-view

Repository files navigation

react-native-alert-loading

Native

Installation

"react-native-alert-loading": "sergeymild/react-native-alert-loading-view#0.2.6"
yarn

Usage

import { showAlertLoading, hideAlertLoading } from 'react-native-alert-loading';

export interface AlertLoadingShowParams {
  readonly overlayColor?: string;
  readonly color?: string;
  readonly animate?: boolean;
  readonly type: 'circleStrokeSpin' | 'ballSpinFadeLoader' | 'ballClipRotate';
}

export interface AlertLoadingHideParams {
  readonly animate?: boolean;
}

showAlertLoading(params: AlertLoadingShowParams);
hideAlertLoading(params?: AlertLoadingHideParams);
// ...

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT