@iterable/react-native-sdk - v2.0.3
    Preparing search index...

    Interface IterableInboxCustomizations

    Interface representing customizations for the Iterable Inbox.

    interface IterableInboxCustomizations {
        body?: {
            color?: string;
            flexWrap?: string;
            fontSize?: number;
            paddingBottom?: number;
            width?: string;
        };
        createdAt?: { color?: string; fontSize?: number };
        messageContainer?: {
            flexDirection?: string;
            justifyContent?: string;
            paddingLeft?: number;
            width?: string;
        };
        messageRow?: {
            backgroundColor?: string;
            borderColor?: string;
            borderStyle?: string;
            borderTopWidth?: number;
            flexDirection?: string;
            height?: number;
            paddingBottom?: number;
            paddingTop?: number;
        };
        navTitle?: string;
        noMessagesBody?: string;
        noMessagesTitle?: string;
        readMessageThumbnailContainer?: {
            flexDirection?: string;
            justifyContent?: string;
            paddingLeft?: number;
        };
        title?: { fontSize?: number; paddingBottom?: number };
        unreadIndicator?: {
            backgroundColor?: string;
            borderRadius?: number;
            height?: number;
            marginLeft?: number;
            marginRight?: number;
            marginTop?: number;
            width?: number;
        };
        unreadIndicatorContainer?: {
            flexDirection?: string;
            justifyContent?: string;
        };
        unreadMessageThumbnailContainer?: {
            flexDirection?: string;
            justifyContent?: string;
            paddingLeft?: number;
        };
    }
    Index

    Properties

    body?: {
        color?: string;
        flexWrap?: string;
        fontSize?: number;
        paddingBottom?: number;
        width?: string;
    }

    The body of the message, as displayed in the inbox (not when the message has been opened).

    Type Declaration

    • Optionalcolor?: string

      The color of the body text.

    • OptionalflexWrap?: string

      The flex wrap property of the body text.

    • OptionalfontSize?: number

      The font size of the body text.

    • OptionalpaddingBottom?: number

      The bottom padding of the body text.

    • Optionalwidth?: string

      The width of the body text.

    createdAt?: { color?: string; fontSize?: number }

    The message date.

    Type Declaration

    • Optionalcolor?: string

      The color of the creation date text.

    • OptionalfontSize?: number

      The font size of the creation date text.

    messageContainer?: {
        flexDirection?: string;
        justifyContent?: string;
        paddingLeft?: number;
        width?: string;
    }

    A container around various elements in the message item: title, body, and created at.

    Type Declaration

    • OptionalflexDirection?: string

      The flex direction of the container.

    • OptionaljustifyContent?: string

      The justification of the container's content.

    • OptionalpaddingLeft?: number

      The left padding of the container.

    • Optionalwidth?: string

      The width of the container.

    messageRow?: {
        backgroundColor?: string;
        borderColor?: string;
        borderStyle?: string;
        borderTopWidth?: number;
        flexDirection?: string;
        height?: number;
        paddingBottom?: number;
        paddingTop?: number;
    }

    A message row.

    Use these styles to customize row height, padding, background color, border, etc.

    Type Declaration

    • OptionalbackgroundColor?: string

      The background color of the message row.

    • OptionalborderColor?: string

      The border color of the message row.

    • OptionalborderStyle?: string

      The border style of the message row.

    • OptionalborderTopWidth?: number

      The top border width of the message row.

    • OptionalflexDirection?: string

      The flex direction of the message row.

    • Optionalheight?: number

      The height of the message row.

    • OptionalpaddingBottom?: number

      The bottom padding of the message row.

    • OptionalpaddingTop?: number

      The top padding of the message row.

    navTitle?: string

    The title that appears at the top of the inbox screen.

    noMessagesBody?: string

    The body text that appears in the middle of the screen when the inbox contains no messages.

    "Check again later!"
    
    noMessagesTitle?: string

    The title that appears in the middle of the screen when the inbox contains no messages.

    "No saved messages".
    
    readMessageThumbnailContainer?: {
        flexDirection?: string;
        justifyContent?: string;
        paddingLeft?: number;
    }

    For a read message, this is the container for the thumbnail image associated with the message (as configured when setting up the template in Iterable).

    Type Declaration

    • OptionalflexDirection?: string

      The flex direction of the container.

    • OptionaljustifyContent?: string

      The justification of the container's content.

    • OptionalpaddingLeft?: number

      The left padding of the container.

    title?: { fontSize?: number; paddingBottom?: number }

    The title of the message, as displayed in the inbox.

    Type Declaration

    • OptionalfontSize?: number

      The font size of the title.

    • OptionalpaddingBottom?: number

      The bottom padding of the title.

    unreadIndicator?: {
        backgroundColor?: string;
        borderRadius?: number;
        height?: number;
        marginLeft?: number;
        marginRight?: number;
        marginTop?: number;
        width?: number;
    }

    Customizations for the unread indicator icon.

    Type Declaration

    • OptionalbackgroundColor?: string

      The background color of the unread indicator.

    • OptionalborderRadius?: number

      The border radius of the unread indicator.

    • Optionalheight?: number

      The height of the unread indicator.

    • OptionalmarginLeft?: number

      The left margin of the unread indicator.

    • OptionalmarginRight?: number

      The right margin of the unread indicator.

    • OptionalmarginTop?: number

      The top margin of the unread indicator.

    • Optionalwidth?: number

      The width of the unread indicator.

    unreadIndicatorContainer?: { flexDirection?: string; justifyContent?: string }

    CThe container that holds the unread indicator.

    Type Declaration

    • OptionalflexDirection?: string

      The flex direction of the container.

    • OptionaljustifyContent?: string

      The justification of the container's content.

    unreadMessageThumbnailContainer?: {
        flexDirection?: string;
        justifyContent?: string;
        paddingLeft?: number;
    }

    For an unread message, this is the container for the thumbnail image associated with the message (as configured when setting up the template in Iterable).

    Type Declaration

    • OptionalflexDirection?: string

      The flex direction of the container.

    • OptionaljustifyContent?: string

      The justification of the container's content.

    • OptionalpaddingLeft?: number

      The left padding of the container.