Braze React Native SDK - v21.0.0
    Preparing search index...

    Interface BrazeBannerViewProps

    The configuration properties associated with the Banner view.

    interface BrazeBannerViewProps {
        onHeightChanged?: (height: number) => void;
        placementID: string;
        style?: any;
    }
    Index

    Properties

    onHeightChanged?: (height: number) => void

    An optional callback function that is invoked whenever the height of the Banner changes.

    Type Declaration

      • (height: number): void
      • Parameters

        • height: number

          The new height of the Banner in pixels.

        Returns void

    placementID: string

    The placement ID for this Banner view.

    style?: any

    Optional custom styles to be applied to the Banner view.

    If you override the height style property, you will need to implement the onHeightChanged callback to handle dynamic size changes.