Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Missing key in AccordionContent #291

@kamilakorzec

Description

@kamilakorzec

Bug Report

Creating Accordion using panels props causes missing key

Steps

  1. Create Accordion using the panels props. Example (from the docs):
  {
    key: "p",
    title: "What is a point?",
    content:
      "Use the haptic SDD circuit, then you can index the redundant pixel!"
  },
  {
    key: "d",
    title: "What is a dimension of a point?",
    content: "We need to copy the primary USB firewall!"
  }
];

Expected Result

Both AccordionTitle and AccordionContent have key prop related to the specified key.

Actual Result

AccordionTitle has key related to its content (for a string it duplicates the string value). AccordionContent has no key.

image

Version

0.5.0-0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    vstsPaired with ticket in vsts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions