UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

29 lines (28 loc) 678 B
export 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 type ConnectionStatusBarState = { type?: string; isConnected: boolean; isCancelled: boolean; }; export declare const DEFAULT_PROPS: { label: string; allowDismiss: boolean; useAbsolutePosition: boolean; };