react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
29 lines (28 loc) • 694 B
TypeScript
export declare type ConnectionStatusBarProps = {
/**
* Text to show as the status
*/
label?: string;
/**
* Handler to get connection change events propagation
*/
onConnectionChange?: (isConnected: boolean, isInitial: boolean) => void;
/**
* Text to show as the status
*/
allowDismiss?: boolean;
/**
* Use absolute position for the component
*/
useAbsolutePosition?: boolean;
};
export declare type ConnectionStatusBarState = {
type?: string;
isConnected: boolean;
isCancelled: boolean;
};
export declare const DEFAULT_PROPS: {
label: string;
allowDismiss: boolean;
useAbsolutePosition: boolean;
};