I observed an issue while using Cypress to target [data-cy=foo] IDs for Card components constructed using this library. The Cypress data-cy attribute is not persisted on the rendered HTML. It would be nice if we forwarded that prop so that consumers can define arbitrary data-* attributes on their Cards and select them via testing libraries like Cypress or Enzyme.
I observed an issue while using Cypress to target
[data-cy=foo]IDs forCardcomponents constructed using this library. The Cypressdata-cyattribute is not persisted on the rendered HTML. It would be nice if we forwarded that prop so that consumers can define arbitrarydata-*attributes on their Cards and select them via testing libraries like Cypress or Enzyme.