Skip to content

Wrong propTypes on AdaptiveCardRenderer.tapAction #2250

@compulim

Description

@compulim

Version

master

Describe the bug

Prop types on AdaptiveCardRenderer.js is wrong for tapAction, it should be:

  tapAction: PropTypes.shape({
    type: PropTypes.string.isRequired,
    value: PropTypes.string
  })

To Reproduce

Steps to reproduce the behavior:

  1. Go to playground
  2. Type receiptcard
  3. Open F12 developer tool

Expected behavior

Expect no warnings.

Additional context

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or an unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions