AdvertiserDisclosure

Status: Stable

Latest released: 2019

Current version: v5.10.0

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

Flag to enable bedrock analytics tracking.

Default

false

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.

Default

null

color

string

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

Default

null

label

string

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

Default

null

onBackground

boolean

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

Default

false

shouldDelay

boolean

Flag to set a longer delay on the appearance of the Popover.

Default

true

type

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.

Default

PRODUCT_TYPES.CREDIT_CARDS