Type alias ErrorStateProps

ErrorStateProps: {
    componentProps?: ViewProps;
    customImage?: ImageSourcePropType;
    errorCode?: string;
    imageStyle?: StyleProp<ViewStyle>;
    noImage?: boolean;
    style?: StyleProp<ViewStyle>;
    subTitle?: string;
    title: string;
    type?: ErrorStateTypes;
}

Props for ErrorState component

Type declaration

  • Optional componentProps?: ViewProps

    Direct props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this.

  • Optional customImage?: ImageSourcePropType

    Custom image (override type image)

  • Optional errorCode?: string

    Technical help or codes (shows as mono text)

  • Optional imageStyle?: StyleProp<ViewStyle>

    Custom image styles

  • Optional noImage?: boolean

    Indicate if no image should be used (text only error)

  • Optional style?: StyleProp<ViewStyle>

    Style to set on the item

  • Optional subTitle?: string

    Sub title of error state (longer reason or explanation)

  • title: string

    Title of error state (primary reason)

  • Optional type?: ErrorStateTypes

    Type of error state (default is generic)

Generated using TypeDoc