Skip to content

Warnings log even though warn is set to false #43

Description

@arasmussen

Here's my configuration:

import ReactHTMLEmail from 'react-html-email';

ReactHTMLEmail.injectReactEmailAttributes();
ReactHTMLEmail.configStyleValidator({
  strict: true,
  warn: false,
  platforms: [
    'gmail',
    'gmail-android',
    'apple-mail',
    'apple-ios',
  ],
});

Then here's the warning I get even though warn is set to false:

Warning: Failed prop type: Style property `border-radius` supplied to `A` unsupported in: gmail-android.
    in A (created by CTA)
    in CTA
    in tbody (created by Box)
    in table (created by Box)
    in Box (created by Email)
    in td (created by Item)
    in tr (created by Item)
    in Item (created by Email)
    in tbody (created by Box)
    in table (created by Box)
    in Box (created by Email)
    in body (created by Email)
    in html (created by Email)
    in Email

Am I doing something wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions