/** * Provides pre-styled React Native components for each native ad asset view: * * - TitleView * - AdvertiserView * - BodyView * - CallToActionView * - IconView * - OptionsView * - MediaView * - StarRatingView * * Each component pulls ad content and view refs from NativeAdView context, * and must be rendered inside a {@link NativeAdView}. */ import * as React from 'react'; import type { ViewProps, ImageProps, TextProps } from 'react-native'; /** * Renders the native ad’s title. */ export declare const TitleView: (props: TextProps) => React.JSX.Element; /** * Renders the advertiser name. */ export declare const AdvertiserView: (props: TextProps) => React.JSX.Element; /** * Renders the ad’s body text (description). */ export declare const BodyView: (props: TextProps) => React.JSX.Element; /** * Renders the call-to-action label. * On iOS, wraps the text with a TouchableOpacity for better click behavior. */ export declare const CallToActionView: (props: TextProps) => React.JSX.Element; /** * Renders the icon image for the native ad. * Falls back to a blank placeholder if not available. */ export declare const IconView: (props: Omit) => React.JSX.Element; /** * Renders the native ad’s options view. */ export declare const OptionsView: (props: ViewProps) => React.JSX.Element; /** * Renders the native ad’s media content. */ export declare const MediaView: (props: ViewProps) => React.JSX.Element; /** * Props for the {@link StarRatingView} component, which displays a star rating * using Unicode stars (★ and ☆) styled with color, shadow, and size. */ type StarRatingViewProps = ViewProps & { /** * The color used for filled (active) stars. * Defaults to gold (#ffe234). */ color?: string; /** * The color used for empty (inactive) stars. * Defaults to light gray (#dedede). */ shadowColor?: string; /** * The size of each star, which also determines their visual size. * Defaults to 10. */ size?: number; }; /** * Renders the star rating of the ad, using Unicode stars (★ and ☆). * Filled stars are rendered over hollow stars using a clipped view. */ export declare const StarRatingView: ({ color, shadowColor, size, style }: StarRatingViewProps) => React.JSX.Element; export {}; //# sourceMappingURL=NativeAdViewComponents.d.ts.map