Skip to content

AdvertiserDisclosure

Status: Stable

Latest released: 2019

Current version: v5.13.6

Storybook
GitHub

A description that discloses how NerdWallet works with advertisers.


Variants

Default

Investing

onBackground


Development

import AdvertiserDisclosure from '@nerdwallet/react-advertiser-disclosure';
<AdvertiserDisclosure />;

Props

<AdvertiserDisclosure>

enableAnalytics

boolean | Object

Flag to enable bedrock analytics tracking. The shape is legacy. only truthiness of prop is checked now.

bool | {
onClick: bool
onHover: bool
}

children

node

Deprecated

As of v5.6 allowing custom text or elements to render within the Popover will not be supported. See Changelog for details. @deprecated


color

string

Deprecated

As of v5.5 changing link color will not be possible. See Changelog for details. @deprecated


label

string

Deprecated

As of v5.5 changing label will not be supported. See Changelog for details. @deprecated


onBackground

boolean

Flag to indicate if component is not on a white background.


shouldDelay

boolean

Deprecated

Now a no-op. Flag to set a longer delay on the appearance of the Popover. @deprecated


type

= PRODUCT_TYPES.CREDIT_CARDS

PRODUCT_TYPES.CREDIT_CARDS | PRODUCT_TYPES.INVESTING

String to indicate which type of advertiser disclosure message to render. Stems from the canoncial marketplace PRODUCT_TYPE fields. Currently supports

0) credit_cards (default) 1) investing

More types can be added as needed.