Skip to content

React error when using maxWidth #23

Description

@christianTNG

When using the maxWidth I can correctly format my email but during each rendering I get a React error in the console that maxWidth was passed to appear in the DOM but is not recognized. Here is the full error:

  React does not recognize the `maxWidth` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `maxwidth` instead. If you accidentally passed it from a parent component, remove it from the DOM element.

Could you please make sure that the additional props like maxWidth are not propagated to appear in the DOM or changed to lowercase before? Thank you very much in advance!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions