UNPKG

@freakycoder/react-native-empty-state

Version:

Empty State library which is fully customizable and simple for any state view use-cases

27 lines (26 loc) 748 B
/// <reference types="react" /> import { ViewStyle, TextStyle, ImageStyle } from "react-native"; export interface ISource { source: string | { uri: string; }; } export interface IEmptyStateProps { title: string; enableButton?: boolean; description: string; buttonText?: string; ImageComponent?: any; style?: ViewStyle; buttonStyle?: ViewStyle; imageStyle?: ImageStyle; titleTextStyle?: TextStyle; buttonTextStyle?: TextStyle; containerGlueStyle?: ViewStyle; descriptionTextStyle?: TextStyle; descriptionContainerStyle?: ViewStyle; imageSource: ISource; onPress?: () => void; } declare const EmptyState: (props: IEmptyStateProps) => JSX.Element; export default EmptyState;